| 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 |
| 6 |
ADMINISTRATOR="root@localhost" |
| 7 |
|
| 8 |
# (Optional) Path to tar binary. |
| 9 |
TAR=/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. |
| 14 |
RSH=/usr/bin/ssh |
| 15 |
|
| 16 |
# (Optional) Path to rsh binary on remote machines. This will be |
| 17 |
# passed via --rsh-command option to the remote invocation of |
| 18 |
# tar |
| 19 |
RSH_COMMAND=/usr/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. |
| 23 |
VOLNO_FILE=/root/volume |
| 24 |
|
| 25 |
# Device to use for dumping. It should be on the host |
| 26 |
# on which the dump scripts are run. |
| 27 |
TAPE_FILE=/dev/rmt0 |
| 28 |
|
| 29 |
# Blocking factor to use for writing the dump. |
| 30 |
BLOCKING=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. |
| 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 |
| 44 |
|
| 45 |
# List of individual files to be dumped. |
| 46 |
# These should be accessible from the machine on which the dump is run. |
| 47 |
BACKUP_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 |
| 55 |
XLIST=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 |
| 65 |
SLEEP_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. |
| 77 |
SLEEP_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 2004-2023 Free Software Foundation, Inc. |
| 86 |
|
| 87 |
# This file is part of GNU tar. |
| 88 |
|
| 89 |
# GNU tar is free software; you can redistribute it and/or modify |
| 90 |
# it under the terms of the GNU General Public License as published by |
| 91 |
# the Free Software Foundation; either version 3 of the License, or |
| 92 |
# (at your option) any later version. |
| 93 |
|
| 94 |
# GNU tar is distributed in the hope that it will be useful, |
| 95 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 96 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 97 |
# GNU General Public License for more details. |
| 98 |
|
| 99 |
# You should have received a copy of the GNU General Public License |
| 100 |
# along with this program. If not, see <http://www.gnu.org/licenses/>. |