Old SCRIPTS
1
2 Afio has far too many options to be used directly from the command
3 line, it is best used as an `archive engine' in a backup
4 script.
5
6
7 1) Using an existing script.
8
9 There are a number of backup scripts using afio that I know of.
10 Apart from incorporating the functions of afio, such scripts offer
11 some general `administrative structure' like backup volumes, file
12 exclusion, log files and incremental backup facilities.
13
14 The available scripts have some large differences in the type of
15 backup device they were primarily designed for (from floppy to network
16 attached tape), the amount of maintenance done on them, and presumably
17 the amount of remaining bugs.
18
19 To find scripts, search the Linux Software Map, a Linux ftp site, or a
20 Linux CD-ROM. See for example the /pub/linux/system/backup directory
21 on sunsite.unc.edu. Some .lsm file excerpts are below.
22
23 ---------------------------------------------------------------------------
24 Title: KBackup - Karsten's Backup System
25 Primary-site: sunsite.unc.edu /pub/linux/system/Backup
26 767678 KBackup-1.2.9.tar.gz
27 ---------------------------------------------------------------------------
28 Title = backup: scripts for full and incremental afio backups
29 Site1 = beatrix.icce.rug.nl (primary site)
30 Path1 = pub/unix
31 File1 = backup-1.03.tar.gz, backup.doc, backup.lsm
32 ---------------------------------------------------------------------------
33 Title: Cbkp
34 Primary-site: sunsite.unc.edu/pub/Linux/system/Backup/cbkp-0.1.2.tar.gz
35 ---------------------------------------------------------------------------
36 Title: ftpbackup utility: backup to/restore from ftp server
37 Primary-site: sunsite.unc.edu /put/Linux/Incoming
38 ---------------------------------------------------------------------------
39 Title = Tbackup
40 Site3 = sunsite.unc.edu
41 Path3 = /pub/Linux/system/Backup
42 File3 = tbackup-0.8.tgz
43 ---------------------------------------------------------------------------
44 Title: tob: Tape Oriented Backup
45 Primary-site: ftp.icce.rug.nl: /pub/unix/tob-X.YY.tar.gz
46 ---------------------------------------------------------------------------
47
48
49 2) Writing your own backup script. (Or adapting an existing one.)
50
51 Aside from the manual page, the files README.afio, README.linux,
52 and script*/* provide information for script writers.
53
54 Three sample backup scripts are included with this afio release. The
55 material in script1/ is written by Andrew Stevens, that in script2/ by
56 Dave Gymer, that in script5/ by Gens Getreu. All scripts will
57 probably need some editing to run on your configuration.
58
59 Sample scripts for backups with pgp encryption are included in
60 script3/. There were contributed by Karsten Ballueder.
61
62 Sample scripts for backups with GnuPG (gpg) encryption are also
63 included in script3/. There were contributed by Jens Getreu.
64
65 A sample script for use with the -H option is included in
66 script4/. This script was provided by Raphael Manfredi.
67