X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=chiark-utils.git;a=blobdiff_plain;f=backup%2Fiwjbackup.txt;h=4ee23545b62140e47dceabf659a51495ee43683f;hp=ff4d860e35fda97cf23fa06b74d0779eadcc2c58;hb=104ec3d498226ed072d991f03c641fc45d92a1ca;hpb=5be70e1e6615ac811f61b760548022239141ac7b diff --git a/backup/iwjbackup.txt b/backup/iwjbackup.txt index ff4d860..4ee2354 100644 --- a/backup/iwjbackup.txt +++ b/backup/iwjbackup.txt @@ -2,12 +2,9 @@ iwjbackup.txt documentation file Copyright - AND NO WARRANTY - see notes at bottom of file for details. -This is a quick summary of the backup scripts, and some comments on and my config files: -it's a bit patchy and might have the odd ommission. The canonical -source is the sources, as always :-> - - -WARNING - this file is out of date ! +This is a quick summary of the backup scripts, and some comments on +some of the config files: it's a bit patchy and might have the odd +ommission. The canonical source is the sources, as always :-> To run, the contents of /etc/chiark-backup should be: @@ -99,6 +96,10 @@ Useful scripts (all in /usr/bin): backup-checkallused: this only does a check of the configuration files. It should give a cryptic summary of the configuration and print 'configuration ok'. If not, fix your config files :-> +You have to create the file /var/lib/chiark-backup/last-tape +containing the id of a tape; this helps backup-checkallused know where +to start iterating over tapes. Any tapeid will do. (But don't make +it the same as the one you want to back up to first.) backup-loaded: this tells the scripts that a currently unlabelled tape should be treated as tape X: eg: @@ -131,7 +132,7 @@ To use this you'll need to configure init: # Runlevel 5 is set up to run a reduced level of services during # backups. (currently this means: no squid, no webserver, no newsserver) # We also run the backup script automatically on entering runlevel 5: - dm:5:once:/usr/local/lib/backup/driver /dev/tty8 2>&1 + dm:5:once:backup-driver /dev/tty8 2>&1 * takedown can be run from the command line or via cron.