In addition to saving to Amazon S3, it would be useful to have the ability to save to a specified location on the local filesystem (e.g. another partition or a mounted NFS share).
It would probably look a lot like this:
with storelet.ZipBackup(...) as b:
# <gather up all the important data here>
b.save_to_location("/some/destination/directory")
In addition to saving to Amazon S3, it would be useful to have the ability to save to a specified location on the local filesystem (e.g. another partition or a mounted NFS share).
It would probably look a lot like this: