1 #============================================================= -*-perl-*-
3 # Host file list for BackupPC.
7 # This file lists all the hosts that should be backed up by
10 # Each line in the hosts file contains three fields, separated
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:
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.
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
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.
41 # Craig Barratt <craig@arraycomm.com>
44 # Copyright (C) 2001-2009 Craig Barratt
46 # See http://backuppc.sourceforge.net.
48 #========================================================================
51 # The first non-comment non-empty line gives the field names and should
54 host dhcp user moreUsers # <--- do not edit this line
55 #farside 0 craig jill,jeff # <--- example static IP host entry
56 #larson 1 bill # <--- example DHCP host entry