Mr. Hankey The Christmas Poo


License
MIT
Install
pip install hankey==1.1.1

Documentation

Mr Hankey

Mr Hankey The Christmas Poo

Installation

pip install hankey
mkdir -p ~/.hankey
touch ~/.hankey/config.json

Enable Service

enable-hankey

Hankey Client

hankey run
hankey restore <job>

Config Example

Config should be in ~/.hankey/config.json

{
  "remotes": {
    "r1": {
      "namespace": "firebase",
      "storageBucket": "<firebase storage bucket>",
      "certificate": "path/to/certificate.json"
    },
    "r2": {
      "namespace": "dropbox",
      "accessToken": "<your dropbox access token>"
    }
  },
  "jobs": {
    "a": {
      "remote": "r1",
      "time": 3600,
      "type": "file",
      "backups": 3,
      "path": "path/to/file"
    },
    "b": {
      "remote": "r2",
      "time": 7200,
      "type": "folder",
      "backups": 1,
      "path": "path/to/folder"
    }
  }
}