4
0

backup-specs 3.9 KB

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