Coder Social home page Coder Social logo

fieryswampshire / service-backup Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pivotal-cf/service-backup

0.0 1.0 0.0 7.75 MB

Service Backup for Cloud Foundry

Home Page: https://docs.pivotal.io/svc-sdk/service-backup

License: Apache License 2.0

Go 96.17% Shell 3.83%

service-backup's Introduction

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

Running Tests

The environment variables required to run the tests are listed in .envrc.template.

GCP

The GCP integration tests require access to a GCP service account file. It should look like this:

{
  "type": "service_account",
  "project_id": " <project-id>",
  "private_key_id": "<key-id>",
  "private_key": " <private-key> ",
  "client_email": " <email> ",
  "client_id": " <id>",
  "auth_uri": "https://accounts.google.com/o/oauth2/auth",
  "token_uri": "https://accounts.google.com/o/oauth2/token",
  "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
  "client_x509_cert_url": " <cert-url>"
}

AWS S3

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-*"
      ]
    }
  ]
}

service-backup's People

Contributors

felisiam avatar gabrielecipriano avatar simonjjones avatar dependabot[bot] avatar abg avatar tinygrasshopper avatar terminatingcode avatar balakaza avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.