A* backup tools
Purpose
Section titled “Purpose”Provide backup for A* controllers and source code.
The a-backup command backs up a controllers file system using dump and restore
over an ssh connection. The command line options are:
| Option | Value |
|---|---|
-user | username@server which requires appropriate permissions |
-device | the device to mount for the backup |
-mount | directory to mount -device on |
-level | level of the dump 0=everything, 1=changes,… |
Actual setup
Section titled “Actual setup”The current setup a 1TB drive sitting on the as server.
The backup files are named:
/backups/hostname-iso8601-date-part-level.dumpTo restore a file use restore -i ....
Typically the command is started from
the command line or via crontab, e.g.
use crontab -e and add:
11 20 * * * /home/pjm/a-team/bin/a-backup