Over-engineer your own file-backup solution
Until yesterday all my digital life was backed up on a physical drive using Time Machine. Occasionally I would feel guilty about that TimeMachine reminder that I haven’t backed-up in a while and would rummage through my desk for the external hd that I would occasionally use to backup my main laptop.
I could have just decided to pay a service like backblaze but nah, I want to be in control of this data so I decided I was going to roll my own solution.
There are 3 main folders I care about, everything else is in a remote git repo. I want an encrypted/private s3 bucket, one IAM user should be able to put and get files from the bucket, and every 20 days I would like all the files moved to long-term storage in Glacier.
I had just started using Terraform in a limited fashion so I wanted to use this as an opportunity to tinker with it.
First up I created an empty git repo in...
Continue reading →