1# This is a sample configuration file for GNU tar backup script. 2# See end of file for copying conditions 3 4# User name or email address of the administrator of backups. A report 5# will be sent to this address when the backup terminates 6ADMINISTRATOR="root@localhost" 7 8# (Optional) Path to tar binary. 9TAR=/bin/tar 10 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. 14RSH=/usr/local/bin/ssh 15 16# (Optional) Path to rsh binary on remote mashines. This will be 17# passed via --rsh-command option to the remote invocation of 18# tar 19RSH_COMMAND=/usr/local/bin/ssh 20 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. 23VOLNO_FILE=/root/volume 24 25# Device to use for dumping. It should be on the host 26# on which the dump scripts are run. 27TAPE_FILE=/dev/rmt0 28 29# Blocking factor to use for writing the dump. 30BLOCKING=124 31 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 36# one. 37BACKUP_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 44 45# List of individual files to be dumped. 46# These should be accesible from the machine on which the dump is run. 47BACKUP_FILES='' 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 52 53# Name of 'exclude file list'. It is searched under $SYSCONFDIR/tar-backup 54# on remote machines 55XLIST=exclude_files 56 57# Default directory for storing incremental listings on remote 58# machines is $SYSCONFDIR/tar-backup. It can be overridden using 59# REMOTEBACKUPDIR variable 60 61# Default directory for storing backup logs is $SYSCONFDIR/backup/log. 62# It can also be overridden via LOGPATH variable. 63 64# Time to sleep between dumps of any two successive filesystems 65SLEEP_TIME=15 66 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' 72 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. 77SLEEP_MESSAGE="`awk ' 78 BEGIN { 79 for (i = 0; i < 30; i++) 80 print \" \" \ 81 \"D O N O T T O U C H T H I S T E R M I N A L !!!!!\" 82 }' /dev/null`" 83 84 85# Copyright (C) 2004 Free Software Foundation, Inc. 86 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 2, or (at your option) 90## any later version. 91 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. 96 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 100## 02110-1301, USA. 101