hosts 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. #============================================================= -*-perl-*-
  2. #
  3. # Host file list for BackupPC.
  4. #
  5. # DESCRIPTION
  6. #
  7. # This file lists all the hosts that should be backed up by
  8. # BackupPC.
  9. #
  10. # Each line in the hosts file contains three fields, separated
  11. # by white space:
  12. #
  13. # - The host name. If this host is a static IP address this
  14. # must the machine's IP host name (ie: something that can
  15. # be looked up using nslookup or DNS). If this is a DHCP
  16. # host then the host name must be the netbios name of the
  17. # machine. It is possible to have a host name that contains
  18. # spaces, but that is discouraged. Escape a space with "\", eg:
  19. #
  20. # craigs\ pc
  21. #
  22. # - DHCP flag. Set to 0 if this is a static IP address host
  23. # or if the machine can be found using nmblookup. Otherwise,
  24. # if the client can only be found by looking through the DHCP
  25. # pool then set this to 1.
  26. #
  27. # - User name (unix login/email name) of the user who "owns"
  28. # or uses this machine. This is the user who will be sent
  29. # email about this machine, and this user will have permission
  30. # to stop/start/browse/restore backups for this host. This
  31. # user name must match the name the user authenticates with
  32. # via apache.
  33. #
  34. # - Optional additional user names (comma separated, no white space) of
  35. # users who are also allowed to stop/start/browse/restore backups
  36. # for this client via the CGI interface. These users are not sent
  37. # email. These do not need to be valid email names; they simply
  38. # need to match the name the user authenticates with via apache.
  39. #
  40. # AUTHOR
  41. # Craig Barratt <craig@arraycomm.com>
  42. #
  43. # COPYRIGHT
  44. # Copyright (C) 2001-2009 Craig Barratt
  45. #
  46. # See http://backuppc.sourceforge.net.
  47. #
  48. #========================================================================
  49. #
  50. # The first non-comment non-empty line gives the field names and should
  51. # not be edited!!
  52. #
  53. host dhcp user moreUsers # <--- do not edit this line
  54. #farside 0 craig jill,jeff # <--- example static IP host entry
  55. #larson 1 bill # <--- example DHCP host entry
  56. #localhost 0 backuppc
  57. admin01 0 backuppc
  58. auth01 0 root
  59. mail01 0 root
  60. portal01 0 root
  61. vhost01 0 root
  62. vpn01 0 root
  63. kvmhost01 0 backuppc
  64. web01 0 backuppc