framework for backing up to S3 and to friends