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 Craig Barratt |
45 |
# |
46 |
# See http://backuppc.sourceforge.net. |
47 |
# |
48 |
#======================================================================== |
49 |
|
50 |
# |
51 |
# The first non-comment non-empty line gives the field names and should |
52 |
# not be edited!! |
53 |
# |
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 |