service-backup

command module
v18.1.5+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2017 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 0.11.1 or above is required to set the storage account key using an environment variable

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.
fakes
This file was generated by counterfeiter
This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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