usabackup - backup Unix config files on a list of hosts


C<usabackup [ --quiet --verbose ] [I<host1 host2 ... hostn]>>


usabackup takes a list of hostnames. If none are given, all hosts in the database are processed. usabackup copies existing user, group and automounter files on each host to a '/etc/usasave' directory'. It adds a '.1' extension to each file. If files with numerical extensions already exist in the /etc/usasave directory, usabackup renames them to the next higher version number. The result is a set of backup files with higher version numbers representing older backups in typical Unix log rotation style. The script will fill in holes in the sequence, and will not copy over any existing backups. The result will always be a contiguous numbered series from newest to oldest. usabackup never deletes any of the backup files, so their number can grow without bound. See the usapurge manpage for a utility to trim the list of backup files produced by usabackup


By default, usabackup announces itself on stdout when it starts. It also prints status messages as it works. If this switch is given, usabackup will produce no output other than fatal errors. Overrides the --verbose switch.

If --quiet is not given, --verbose turns on verbose output of all commands issued by the framework.


Man(%%3) pages (programmer's docs):

the Unix::Sysadmin::Host manpage, the Unix::Sysadmin::User manpage, the Unix::Sysadmin::Automount manpage, the Unix::Sysadmin::Group manpage, the Unix::Sysadmin::Netgroup manpage, the Unix::Sysadmin::List manpage, the Unix::Sysadmin::Cmds manpage, the Unix::Sysadmin::Files manpage the Unix::Sysadmin::Utility manpage the Unix::Sysadmin::Config manpage, the Unix::Sysadmin::Scoped manpage

Man(%%5) pages (file formats):

the Unix::Sysadmin::Host.list manpage, the Unix::Sysadmin::User.list manpage, the Unix::Sysadmin::Automount.list manpage, the Unix::Sysadmin::Group.list manpage, the Unix::Sysadmin::Netgroup.list manpage

Man(%%8) pages (manager's docs):

the Unix::Sysadmin manpage, the Unix::Sysadmin::Setup manpage the usasetup manpage

the usatest manpage

the usabackup manpage

the usapurge manpage

the usaupdate manpage

the usapush manpage


Howard Owen <> =cut