Code Monkey home page Code Monkey logo

0a95e3ab9f64088abd49c669c7345147aad14c9e3eb6b8be26103de9ecb92485's Introduction

Setup daily Deis backups

  1. SSH into a Deis instance
  2. git clone https://github.com/glogiotatidis/deis-backup-service
  3. Edit units/deis-backup.service
  • AWS_ACCESS_KEY: AWS S3 Access Key
  • AWS_SECRET_KEY: AWS S3 Secret Key
  • AWS_BACKUP_BUCKET: AWS S3 Backup Bucket. Example masterfirefoxos-backup/deis
  • DEIS_DOMAIN: Deis Domain. Example masterfirefoxos.com
  • PASSPHRASE: Passphrase for gpg encryption of data uploaded to S3. Optional.
  • AWS_HTTPS: Use HTTPS to connect to S3. True or False. Optional defaults to True.
  • AWS_REDUCED_REDUNDANCY: Use AWS Reduced Redundancy. True or False. Optional defaults to False.
  1. fleetctl load deis-backup.service
  2. fleetctl load deis-backup.timer
  3. fleetctl start deis-backup.timer

You don't need to start deis-backup.service, timer service will take care of that when it's time.

fleectl list-units should list both services like this

  • deis-backup.service 5277b5e9.../10.21.2.84 inactive dead
  • deis-backup.timer 5277b5e9.../10.21.2.84 inactive waiting

If you want to change the frequency of the backups, edit deis-backup.timer unit and adjust OnCalendar entry to your needs. You can read more about the Timer format on systemd.timer documenation.

0a95e3ab9f64088abd49c669c7345147aad14c9e3eb6b8be26103de9ecb92485's People

Contributors

croemmich avatar glogiotatidis avatar mozilla-github-standards 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.