1 # This is a sample configuration file for GNU tar backup script.
2 # See end of file for copying conditions
4 # User name or email address of the administrator of backups. A report
5 # will be sent to this address when the backup terminates
6 ADMINISTRATOR="root@localhost"
8 # (Optional) Path to tar binary.
11 # (Optional) Path to rsh binary or its equivalent. You may wish to
12 # set it to ssh as shown in the example below, to improve security.
13 # In this case you will have to use public key authentication.
14 RSH=/usr/local/bin/ssh
16 # (Optional) Path to rsh binary on remote mashines. This will be
17 # passed via --rsh-command option to the remote invocation of
19 RSH_COMMAND=/usr/local/bin/ssh
21 # Name of temporary file to hold volume numbers. This needs to be accessible
22 # by all the machines which have filesystems to be dumped.
23 VOLNO_FILE=/root/volume
25 # Device to use for dumping. It should be on the host
26 # on which the dump scripts are run.
29 # Blocking factor to use for writing the dump.
32 # List of file systems to be dumped. If prefixed with a HOST:
33 # the filesystem is accessed on the given HOST, unless it
34 # coincides with the local machine name.
35 # If a file system starts with a slash, it is handled as a local
37 BACKUP_DIRS='remote1:/etc remote1:/var/spool/crontab'
38 # Alternatively, you may leave this variable unassigned, and
39 # keep the list of filesystems to be dumped in file
40 # $SYSCONFDIR/backup/dirs, one filesystem per line. Empty
41 # lines and shell comments are allowed in this file. The location
42 # of this file may be overridden using DIRLIST variable, e.g.:
43 # DIRLIST=/etc/my-backup/dirlist
45 # List of individual files to be dumped.
46 # These should be accesible from the machine on which the dump is run.
48 # This list may also be kept in file $SYSCONFDIR/backup/files, the
49 # format of which is the same as described above. The location of
50 # this file may be overridden by setting FILELIST variable:
51 # FILELIST=/etc/my-backup/filelist
53 # Name of 'exclude file list'. It is searched under $SYSCONFDIR/tar-backup
57 # Default directory for storing incremental listings on remote
58 # machines is $SYSCONFDIR/tar-backup. It can be overridden using
59 # REMOTEBACKUPDIR variable
61 # Default directory for storing backup logs is $SYSCONFDIR/backup/log.
62 # It can also be overridden via LOGPATH variable.
64 # Time to sleep between dumps of any two successive filesystems
67 # Script to be run when it's time to insert a new tape in for the next
68 # volume. Administrators may want to tailor this script for their site.
69 # If this variable isn't set, tar will use some default behavior which is
70 # probably defined in the manual.
71 #DUMP_REMIND_SCRIPT='rsh apple-gunkies /home/gd2/dump/dump-remind'
73 # Message to display on the terminal while waiting for dump time. Usually
74 # this will just be some literal text, preferably something more
75 # entertaining than this. The awk script here saves some redundant
76 # repetition, but is not really all that desirable.
79 for (i = 0; i < 30; i++)
81 \"D O N O T T O U C H T H I S T E R M I N A L !!!!!\"
85 # Copyright (C) 2004, 2007 Free Software Foundation, Inc.
87 ## This program is free software; you can redistribute it and/or modify
88 ## it under the terms of the GNU General Public License as published by
89 ## the Free Software Foundation; either version 3, or (at your option)
92 ## This program is distributed in the hope that it will be useful,
93 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
94 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
95 ## GNU General Public License for more details.
97 ## You should have received a copy of the GNU General Public License
98 ## along with this program; if not, write to the Free Software
99 ## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA