The cleanup policy that emptied our public user upload folder
by•
Configured an AWS S3 lifecycle policy to clear out temporary files older than 7 days.
Misconfigured the prefix pattern by leaving a trailing slash off the temp directory string. The rule ended up matching the main user avatar directory instead.
Woke up on Saturday morning to find that every profile photo uploaded over a week ago had been permanently scrubbed from the bucket.
2 views
Replies
Be the first to reply
Have a question or a thought to share? Add a comment above to start the conversation.