It's quite easy.
- Install tob. Download the latest release, and follow the instructions in the README that tell you what to copy where.
- Try tob. Tob comes out-of-the-box with an example configuration that will back up your /etc directory to /var/backups.
Try it:
tob -full example . Now look in /var/backups:
# ls /var/backups [..] example_2002_09_13_15_36_full.gz
- Verify your backup now: tob -verify example
. Try editing /etc/profile, putting in an extra comment, and then re-running the verify.
You should see something like:
afio: "/etc/profile": Corrupt archive data
- Do an incremental backup. If you didn't already, edit /etc/profile and add an extra comment line.
Type tob -inc example , then look in your backups directory:
# ls /var/backups [...] example_2002_09_13_15_36_full.gz example_2002_09_13_15_42_inc.gz
- Try a restore.
# cd /tmp # tob -restore example etc/passwd .. etc/passwd - uncompressed
If you want everything restored, use tob -restore example '*' - There's more. Tob does some great stuff. Check out the man page for details.
