I store all uploaded images at file system.
Once a week I backup all the data to aws:s3 . Let’s say that the url
where
the data is stored is
http://s3.amazonaws.com/foo/images.tar.gz
On my staging server I want to retrieve this data to verify that the
backup
is indeed good.
My question is how to retrieve images.tar.gz programmatically.
Similarly I also backup the production database data to s3 and I want to
retrieve that data programmatically too. This data is available as
http://s3.amazonaws.com/foo/production_dump_2007-09-04_00-00-14.sql.gz
Thanks.