Coder Social home page Coder Social logo

slachiewicz / docker-rackspace-cloud-backup Goto Github PK

View Code? Open in Web Editor NEW

This project forked from million12/docker-rackspace-cloud-backup

0.0 1.0 0.0 136 KB

Dockerized Rackspace backup agent, driveclient.

Home Page: https://registry.hub.docker.com/u/million12/rackspace-cloud-backup

License: MIT License

Shell 100.00%

docker-rackspace-cloud-backup's Introduction

Rackspace backup agent, driveclient | Docker image

Circle CI

Docker image million12/rackspace-cloud-backup with Rackspace cloud backup agent, driveclient.

Contains installed driveclient. Once you run it and provide required ENV variables (see below), in the Rackspace Cloud Panel for given server, you should see Backup Agent: Installed status. Now you can configure your backup routines.

Few notes:

  • driveclient randomly hits Rackspace HTTP(s) error 403 which results in lack of connection with Cloud Backup. The run script tries to handle that and checks logs for HTTP(s) error code = 403 or Could not post an event. If it happens, it restarts the daemon automatically. And it does so until success.
  • The script handles also error 400 which indicates connection problem (make sure you run this container with --net=host option!), errors with agent registration (bad credentials). In case of these errors, the container exists and you must fix the issue.

See Rackspace Cloud Backup - Install the agent on Linux for more info.

Usage

You will need to set the following ENV variables:

API_HOST: cloud backup API hostname for your region (check Rackspace website)
API_KEY: 32-char length API key to your account
ACCOUNT_ID: your Rackspace account ID
USERNAME: Rackspace account username

docker pull million12/rackspace-cloud-backup:latest

docker run \
  --name=driveclient \
  --net=host \
  -v /:/mnt/host \
  --volumes-from=some-other-container \
  --env="API_HOST=lon.backup.api.rackspacecloud.com" \
  --env="API_KEY=32lengthApiKeyFromYourRaxAccount" \
  --env="ACCOUNT_ID=01234567" \
  --env="USERNAME=account-username" \
  million12/rackspace-cloud-backup

Acknowledgments

License

Licensed under MIT, see LICENSE.

docker-rackspace-cloud-backup's People

Contributors

ryzy 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.