8

I'm having some difficulty setting up my S3 to make an automatic backup to Glacier. That is, I want a copy of my s3 on the glacier every day. How to do this?

Pierre.Vriens
  • 1,159
  • 34
  • 15
  • 19
  • 1
    Big picture, what is your actual aim? Point in time snapshots of S3? That would be better done with S3 bucket versioning. You can restore to a point in time quite easily, including recovering files marked deleted. Regarding your question, I don't think AWS offers this functionality directly. You may have to use incremental backup software on an EC2 instance, but maybe someone has a service that will do it for you. – Tim Aug 25 '17 at 19:45
  • 1
    My goal is to generate a backup of my S3 in case we accidentally delete files. – Paloma Macetko Aug 25 '17 at 20:56
  • 1
    It might be a duplicate https://stackoverflow.com/questions/15325943/can-amazon-glacier-mirror-an-amazon-s3-bucket – Mr. Raspberry Aug 31 '17 at 10:21

2 Answers2

4

You can figure out how AWS's API works or just let Veeam do all the job with an additional ransomware protect. https://www.veeam.com/blog/leverage-vtl-on-amazon-aws-object-storage-s3-glacier.html

Stuka
  • 5,181
  • 13
  • 11
2

Since your goal is to be able to recover deleted files you simply need to turn on S3 versioning. You can recovered files marked as deleted from the console or command line.

If you want to restore / download your bucket as at a point in time use the S3 Point in Time Restore Tool.

AWS has a lot of features. Doing the associate certification is a good way to get a reasonably overview of them. It's important to understand your platform.

Tim
  • 30,383
  • 6
  • 47
  • 77