DEV Community

Discussion on: How to automatically backup MYSQL to Amazon S3?

supunkavinda profile image
Supun Kavinda Author

This is something I previously never thought about.

However, this tutorial says,

A question that needs answering here is what happens with any files existing under the specified prefix and bucket but not existing in the local directory or vice versa? The answer is that they are not deleted unless a --delete parameter is added to the command.

It seems that deleting a file locally doesn't delete the file on S3.

I'll check this myself and post a comment in a few days.

filix profile image
Filip Ilić

If it's so than its great. Because that would be an security issue.