makhomed / autobackup

OpenVZ and raw backup via dedicated backup server with ZFS storage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

autobackup

OpenVZ and raw backup via dedicated backup server with ZFS storage

# /opt/autobackup/autobackup --help
usage: autobackup [-h] --host HOST [--port PORT] --type TYPE --dest PATH --save COUNT

optional arguments:
  -h, --help    show this help message and exit
  --host HOST   remote host to backup it on ZFS
  --port PORT   remote port to backup it on ZFS
  --type TYPE   remote host type: etc, raw, ovz
  --dest PATH   backup destination on local ZFS
  --save COUNT  count of saved backup snapshots

Examples

# /opt/autobackup/autobackup --host=example.com --type=etc --dest=/tank/backup/example.com --save=30
# /opt/autobackup/autobackup --host=example.net --type=raw --dest=/tank/backup/example.net --save=30
# /opt/autobackup/autobackup --host=example.org --type=ovz --dest=/tank/backup/example.org --save=30

About

OpenVZ and raw backup via dedicated backup server with ZFS storage

License:GNU General Public License v3.0


Languages

Language:Python 100.0%