-# site-specific parameters for file system backup.
+# This is a sample configuration file for GNU tar backup script.
+# See end of file for copying conditions
-# User name of administrator of backups.
-ADMINISTRATOR=backup-reports
+# User name or email address of the administrator of backups. A report
+# will be sent to this address when the backup terminates
+ADMINISTRATOR="root@localhost"
-# Hour at which backups are normally done.
-# This should be a number from 0 to 23.
-BACKUP_HOUR=1
+# (Optional) Path to tar binary.
+TAR=/bin/tar
-# Location of GNU tar. This must be the same for all hosts.
-TAR=/usr/local/gnubin/tar
+# (Optional) Path to rsh binary or its equivalent. You may wish to
+# set it to ssh as shown in the example below, to improve security.
+# In this case you will have to use public key authentication.
+RSH=/usr/local/bin/ssh
+
+# (Optional) Path to rsh binary on remote mashines. This will be
+# passed via --rsh-command option to the remote invocation of
+# tar
+RSH_COMMAND=/usr/local/bin/ssh
+
+# Name of temporary file to hold volume numbers. This needs to be accessible
+# by all the machines which have filesystems to be dumped.
+VOLNO_FILE=/root/volume
# Device to use for dumping. It should be on the host
# on which the dump scripts are run.
-TAPE_FILE=/dev/nrsmt0
-
-# Command to obtain status of tape drive, including error count.
-# On some tape drives there may not be such a command;
-# then simply use `TAPE_STATUS=false'.
-#
-# Might also consider
-# TAPE_STATUS="mt -f ${TAPE_FILE} status"
-# if `mts' is missing, though this alternative is rather verbose.
-TAPE_STATUS="mts -t ${TAPE_FILE}"
+TAPE_FILE=/dev/rmt0
# Blocking factor to use for writing the dump.
BLOCKING=124
-# Name of temporary file to hold volume numbers. This needs to be accessible
-# by all the machines which have filesystems to be dumped.
-VOLNO_FILE=/home/gd2/dump/volnofile
+# List of file systems to be dumped. If prefixed with a HOST:
+# the filesystem is accessed on the given HOST, unless it
+# coincides with the local machine name.
+# If a file system starts with a slash, it is handled as a local
+# one.
+BACKUP_DIRS='remote1:/etc remote1:/var/spool/crontab'
+# Alternatively, you may leave this variable unassigned, and
+# keep the list of filesystems to be dumped in file
+# $SYSCONFDIR/backup/dirs, one filesystem per line. Empty
+# lines and shell comments are allowed in this file. The location
+# of this file may be overridden using DIRLIST variable, e.g.:
+# DIRLIST=/etc/my-backup/dirlist
+
+# List of individual files to be dumped.
+# These should be accesible from the machine on which the dump is run.
+BACKUP_FILES=''
+# This list may also be kept in file $SYSCONFDIR/backup/files, the
+# format of which is the same as described above. The location of
+# this file may be overridden by setting FILELIST variable:
+# FILELIST=/etc/my-backup/filelist
+
+# Default directory for storing incremental listings on remote
+# machines is $SYSCONFDIR/tar-backup. It can be overridden using
+# REMOTEBACKUPDIR variable
+
+# Default directory for storing backup logs is $SYSCONFDIR/backup/log.
+# It can also be overridden via LOGPATH variable.
+
+# Time to sleep between dumps of any two successive filesystems
+SLEEP_TIME=15
# Script to be run when it's time to insert a new tape in for the next
# volume. Administrators may want to tailor this script for their site.
# probably defined in the manual.
#DUMP_REMIND_SCRIPT='rsh apple-gunkies /home/gd2/dump/dump-remind'
-# List of file systems to be dumped.
-# Actually, any directory may be used, but if it has subdirectories on
-# other file systems, they are not included.
-# The host name specifies which host to run tar on.
-# It should normally be the host that actually has the file system.
-# If GNU tar is not installed on that machine, then you can specify some
-# other host which can access the file system through NFS.
-# Although these are arranged one per line, that is not mandatory.
-# It does not work to use # for comments within the string.
-
-BACKUP_DIRS='
- albert:/fs/fsf
- sugar-bombs:/fs/gd
- albert:/fs/gd2
- churchy:/fs/gd3
- nutrimat:/fs/gp
- nutrimat:/fs/gp2
- albert:/fs/mailer
- placebo:/archive
- nutrimat:/fs/dist
- albert:/
- albert:/usr
- nutrimat:/
- placebo:/
- ernst:/usr1
-'
-
-# List of individual files to be dumped.
-# These should be accesible from the machine on which the dump is run.
-BACKUP_FILES=''
-
# Message to display on the terminal while waiting for dump time. Usually
# this will just be some literal text, preferably something more
# entertaining than this. The awk script here saves some redundant
\"D O N O T T O U C H T H I S T E R M I N A L !!!!!\"
}' /dev/null`"
+\f
+# Copyright (C) 2004 Free Software Foundation, Inc.
+
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2, or (at your option)
+## any later version.
+
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+## GNU General Public License for more details.
-# eof
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+## 02111-1307, USA.