Afio has far too many options to be used directly from the command line, it is best used as an `archive engine' in a backup script. 1) Using an existing script. There are a number of backup scripts using afio that I know of. Apart from incorporating the functions of afio, such scripts offer some general `administrative structure' like backup volumes, file exclusion, log files and incremental backup facilities. The available scripts have some large differences in the type of backup device they were primarily designed for (from floppy to network attached tape), the amount of maintenance done on them, and presumably the amount of remaining bugs. To find scripts, search the Linux Software Map, a Linux ftp site, or a Linux CD-ROM. See for example the /pub/linux/system/backup directory on sunsite.unc.edu. Some .lsm file excerpts are below. --------------------------------------------------------------------------- Title: KBackup - Karsten's Backup System Primary-site: sunsite.unc.edu /pub/linux/system/Backup 767678 KBackup-1.2.9.tar.gz --------------------------------------------------------------------------- Title = backup: scripts for full and incremental afio backups Site1 = beatrix.icce.rug.nl (primary site) Path1 = pub/unix File1 = backup-1.03.tar.gz, backup.doc, backup.lsm --------------------------------------------------------------------------- Title: Cbkp Primary-site: sunsite.unc.edu/pub/Linux/system/Backup/cbkp-0.1.2.tar.gz --------------------------------------------------------------------------- Title: ftpbackup utility: backup to/restore from ftp server Primary-site: sunsite.unc.edu /put/Linux/Incoming --------------------------------------------------------------------------- Title = Tbackup Site3 = sunsite.unc.edu Path3 = /pub/Linux/system/Backup File3 = tbackup-0.8.tgz --------------------------------------------------------------------------- Title: tob: Tape Oriented Backup Primary-site: ftp.icce.rug.nl: /pub/unix/tob-X.YY.tar.gz --------------------------------------------------------------------------- 2) Writing your own backup script. (Or adapting an existing one.) Aside from the manual page, the files README.afio, README.linux, and script*/* provide information for script writers. Three sample backup scripts are included with this afio release. The material in script1/ is written by Andrew Stevens, that in script2/ by Dave Gymer, that in script5/ by Gens Getreu. All scripts will probably need some editing to run on your configuration. Sample scripts for backups with pgp encryption are included in script3/. There were contributed by Karsten Ballueder. Sample scripts for backups with GnuPG (gpg) encryption are also included in script3/. There were contributed by Jens Getreu. A sample script for use with the -H option is included in script4/. This script was provided by Raphael Manfredi.