service-backup

command module
v18.3.5+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
fakes
Code generated by counterfeiter.
Code generated by counterfeiter.
process_manager_integration
s3integration
scp
fakes
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL