NAME
backup must be run by root, and not as a setuid program.
backup begins by reading a configuration file, /etc/backup.conf,
which can be configured in the source code. This file must have the
proper permissions to be acceptable to backup as a configuration file:
backup then tars the specified subdirectories and compresses
the resulting file using GNU's gzip. This file is stored by
default in /tmp. backup logs into the FTP site
and transfers the file to the remote directory /backup
in the FTP account's top level directory. This directory must exist
and have appropriate permissions for the account holder to cd and write
to the directory prior to the archive procedure or backup will fail.
Once the file is transferred, backup prints a summary of the number
of bytes transferred and the effective data transfer speed, deletes the
local archive file, and exits.
the DIR keyword can appear multiple times in the configuration file. The remaining keywords must only be specified once. If any of these appears more than once, only the first specification is valid. If any of the FTP keywords is absent, backup fails (future versions should default to anonymous FTP when USER and PASS are not specified).
Example: