backup-specs 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. # site-specific parameters for file system backup.
  2. # User name of administrator of backups.
  3. ADMINISTRATOR=backup-reports
  4. # Hour at which backups are normally done.
  5. # This should be a number from 0 to 23.
  6. BACKUP_HOUR=1
  7. # Location of GNU tar. This must be the same for all hosts.
  8. TAR=/usr/local/gnubin/tar
  9. # Device to use for dumping. It should be on the host
  10. # on which the dump scripts are run.
  11. TAPE_FILE=/dev/nrsmt0
  12. # Command to obtain status of tape drive, including error count.
  13. # On some tape drives there may not be such a command;
  14. # then simply use `TAPE_STATUS=false'.
  15. #
  16. # Might also consider
  17. # TAPE_STATUS="mt -f ${TAPE_FILE} status"
  18. # if `mts' is missing, though this alternative is rather verbose.
  19. TAPE_STATUS="mts -t ${TAPE_FILE}"
  20. # Blocking factor to use for writing the dump.
  21. BLOCKING=124
  22. # Name of temporary file to hold volume numbers. This needs to be accessible
  23. # by all the machines which have filesystems to be dumped.
  24. VOLNO_FILE=/home/gd2/dump/volnofile
  25. # Script to be run when it's time to insert a new tape in for the next
  26. # volume. Administrators may want to tailor this script for their site.
  27. # If this variable isn't set, tar will use some default behavior which is
  28. # probably defined in the manual.
  29. #DUMP_REMIND_SCRIPT='rsh apple-gunkies /home/gd2/dump/dump-remind'
  30. # List of file systems to be dumped.
  31. # Actually, any directory may be used, but if it has subdirectories on
  32. # other file systems, they are not included.
  33. # The host name specifies which host to run tar on.
  34. # It should normally be the host that actually has the file system.
  35. # If GNU tar is not installed on that machine, then you can specify some
  36. # other host which can access the file system through NFS.
  37. # Although these are arranged one per line, that is not mandatory.
  38. # It does not work to use # for comments within the string.
  39. BACKUP_DIRS='
  40. albert:/fs/fsf
  41. sugar-bombs:/fs/gd
  42. albert:/fs/gd2
  43. churchy:/fs/gd3
  44. nutrimat:/fs/gp
  45. nutrimat:/fs/gp2
  46. albert:/fs/mailer
  47. placebo:/archive
  48. nutrimat:/fs/dist
  49. albert:/
  50. albert:/usr
  51. nutrimat:/
  52. placebo:/
  53. ernst:/usr1
  54. '
  55. # List of individual files to be dumped.
  56. # These should be accesible from the machine on which the dump is run.
  57. BACKUP_FILES=''
  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. # eof