Git Product home page Git Product logo

openshift-cartridge-osbs's Introduction

OpenShift Backup Service


OpenShift Backup Service(OSBS) is a simple cartridge that helps you manage backups for your applications

  • Schedule Backups
  • Download/Restore Backups
  • Automatically backup when a gear is stopped so you always have the latest data

Version:

0.1

Installation:

rhc app create osbs http://tinyurl.com/OpenShiftBackupService http://cartreflect-claytondev.rhcloud.com/reflect?github=smarterclayton/openshift-redis-cart cron

Make note of the password that is printed out.

That's it for the server cartridge. Now you need to add the client to your applications you want to back up:

rhc cartridge add -a <application to backup> -c http://tinyurl.com/OpenShiftBackupClient

Usage:

Go to osbs-<namespace>.rhcloud.com and login with admin and the password that was printed when you created the application.

To Schedule a backup:

  • Click Schedule Backup on the left hand menu
  • From the first dropdown list select the gear you want to back up
  • In the 2nd dropdown list select how offten you want to backup the gear
    • If you schedule a gear for Once it will schedule a backup to run in the next minute(this only run once)

To download/restore a backup:

  • Click Gear List on the left hand menu
  • Then Click Manage next to the application

Notes:

  • The OSBS gear has to stay running
    • Since we use cron for the scheduling of backups, if the gear goes idle or stopped the cron jobs will no longer be ran
    • If you are a silver user or running this in an enterprise environment this should not affect you.

License:

ASL2.0

openshift-cartridge-osbs's People

Contributors

wshearn avatar shekhargulati avatar

Watchers

James Cloos 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.