Giter Site home page Giter Site logo

aodb's Introduction

Atlassian OnDemand backup

Atlassian OnDemand does not offer an API for doing backups. This project provides two small scripts to a) assist with creating (using Ruby and the mechanize gem) and b) downloading (using curl and some retry-logic take from here).

These scripts are intended to be executed using cron.

Installation

  • Requires curl and Ruby 1.9 (and the bundler gem), optionally managed using RVM (a Ruby with the alias 1.9 must be installed)
  • bundle install

Configuration

Both scripts rely on environment variables for configuration:

  • AODB_HOST: the fully-qualified domain name for the instance (e.g. foobar.atlassian.net)
  • AODB_USER: the username (requires administrator privileges)
  • AODB_PASS: the password
  • AODB_TARGET one of JIRA or Confluence

You might want to put those exports into a file which you source before running either create.rb or download.sh.

Running

  • AODB_TARGET=JIRA ./create.rb - create a JIRA backup for the instance specified in AODB_HOST. The script will return immediately - before downloading you should wait for a couple of minutes before downloading (the exact amount of time depends on the size of your backup).
  • AODB_TARGET=JIRA ./download.rb - download the JIRA backup via WebDAV.

aodb's People

Contributors

yawn avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

zsim0n

aodb's Issues

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.