File: hosts

package info (click to toggle)
backuppc 4.4.0-11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,752 kB
  • sloc: perl: 37,523; sh: 607; javascript: 176; makefile: 38; ansic: 6
file content (57 lines) | stat: -rw-r--r-- 2,243 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#========================================================================
#
# Host file list for BackupPC.
#
# DESCRIPTION
#
#   This file lists all the hosts that should be backed up by
#   BackupPC.
#
#   Each line in the hosts file contains three fields, separated
#   by white space:
#
#     - The host name.  If this host is a static IP address this
#       must the machine's IP host name (ie: something that can
#       be looked up using nslookup or DNS).  If this is a DHCP
#       host then the host name must be the netbios name of the
#       machine.  It is possible to have a host name that contains
#       spaces, but that is discouraged.  Escape a space with "\", eg:
#
#                craigs\ pc
#
#     - DHCP flag.  Set to 0 if this is a static IP address host
#       or if the machine can be found using nmblookup.  Otherwise,
#       if the client can only be found by looking through the DHCP
#       pool then set this to 1.
#
#     - User name (unix login/email name) of the user who "owns"
#       or uses this machine.  This is the user who will be sent
#       email about this machine, and this user will have permission
#       to stop/start/browse/restore backups for this host.  This
#       user name must match the name the user authenticates with
#       via apache.
#
#     - Optional additional user names (comma separated, no white space) of
#       users who are also allowed to stop/start/browse/restore backups
#       for this client via the CGI interface.  These users are not sent
#       email.  These do not need to be valid email names; they simply
#       need to match the name the user authenticates with via apache.
#
# AUTHOR
#   Craig Barratt  <craig@arraycomm.com>
#
# COPYRIGHT
#   Copyright (C) 2001-2020  Craig Barratt
#
#   See http://backuppc.sourceforge.net.
#
#========================================================================

#
# The first non-comment non-empty line gives the field names and should
# not be edited!!
#
host        dhcp    user    moreUsers     # <--- do not edit this line
#farside    0       craig   jill,jeff     # <--- example static IP host entry
#larson     1       bill                  # <--- example DHCP host entry
localhost   0       backuppc