service-backup
Utility to provide mechanism for backing up services
Usage
This is intended to be used with the
service-backup-release. Further instructions can be found in that repository.
Development
S3 requires the AWS CLI:
brew install awscli
Azure requires the blobxfer
CLI for batch uploads:
brew install python
pip install blobxfer
NB: blobxfer version 1.0.0 or above is required
The S3 integration tests require access to a bucket called service-backup-integration-test
with all permissions. Example policy is as follows:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "servicebackupintegrationtest",
"Effect": "Allow",
"Action": [
"s3:*"
],
"Resource": [
"arn:aws:s3:::service-backup-*/*",
"arn:aws:s3:::service-backup-*"
]
}
]
}
The environment variables required to run the tests are listed in .envrc.template
.