jabu

Just Another Backup Utility


Keywords
backup, jabu, system, sysadmin
License
GPL-3.0
Install
pip install jabu==0.2.1

Documentation

JABU - Just Another Backup Utility

This python script, given a backup configuration, will cycle through a list of backup 'sources'

Instalation

  • Install depencencies
sudo apt install python-setuptools
  • Install JABU
$ python setup.py install
  • Create config file, example in the directory config-sample.json

  • Create a backups users and add to sudoers

# cat > /etc/sudoers.d/99-backups <<EOF
backups ALL=(ALL) NOPASSWD: /bin/tar
EOF
  • Test your configuration by doing initial run of the jabu
# sudo -H -u backups /usr/local/bin/jabu -v /home/jabu/mynightlybackup.json
  • Add yout job to cron.
# cat > /etc/cron.d/nightly-backups.conf <<EOF
0 2 * * * backups /usr/local/bin/jabu /home/jabu/mynightlybackup.json
EOF