I move dockers around a lot on EC2 instances. Each docker has a specific folder on the host where it stores it's data.
I want to create a single backup script that will look for any of a list of possible folders and back each up to a file on S3 whose name is date stamped by day of month. So you end up with one month's worth of backups.
I want the backup script to gzip and stream the data to S3 to save on local disk space and IO.
Assume the S3 command line tools are installed and configured.