Skip to content

A* backup tools

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:

OptionValue
-userusername@server which requires appropriate permissions
-devicethe device to mount for the backup
-mountdirectory to mount -device on
-levellevel of the dump 0=everything, 1=changes,…

The current setup a 1TB drive sitting on the as server.

The backup files are named:

/backups/hostname-iso8601-date-part-level.dump

To 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