#
$Conf{BackupPCUserVerify} = 1;
+#
+# Maximum number of hardlinks supported by the $TopDir file system
+# that BackupPC uses. Most linux or unix file systems should support
+# at least 32000 hardlinks per file, or 64K in other cases. If a pool
+# file already has this number of hardlinks, a new pool file is created
+# so that new hardlinks can be accommodated. This limit will only
+# be hit if an identical file appears at least this number of times
+# across all the backups.
+#
+$Conf{HardLinkMax} = 31999;
+
###########################################################################
# What to backup and when to do it
# (can be overridden in the per-PC config.pl)
# $timeStampFile start time for incremental dump
#
$Conf{SmbClientFullCmd} = '$smbClientPath \\\\$host\\$shareName'
- . '$I_option -U $userName -E -N -d 1'
+ . ' $I_option -U $userName -E -N -d 1'
. ' -c tarmode\\ full -Tc$X_option - $fileList';
$Conf{SmbClientIncrCmd} = '$smbClientPath \\\\$host\\$shareName'
- . '$I_option -U $userName -E -N -d 1'
+ . ' $I_option -U $userName -E -N -d 1'
. ' -c tarmode\\ full -TcN$X_option $timeStampFile - $fileList';
$Conf{SmbClientRestoreCmd} = '$smbClientPath \\\\$host\\$shareName'
- . '$I_option -U $userName -E -N -d 1'
+ . ' $I_option -U $userName -E -N -d 1'
. ' -c tarmode\\ full -Tx -';
#
$Conf{NmbLookupPath} = '/usr/bin/nmblookup';
#
-# NmbLookup command. Several variables are substituted at run-time:
+# NmbLookup command. Given an IP address, does an nmblookup on that
+# IP address. Several variables are substituted at run-time:
#
# $nmbLookupPath path to nmblookup ($Conf{NmbLookupPath})
# $host host name
#
$Conf{NmbLookupCmd} = '$nmbLookupPath -A $host';
+#
+# NmbLookup command. Given a netbios name, finds that host by doing
+# a NetBios multicast. Several variables are substituted at run-time:
+#
+# $nmbLookupPath path to nmblookup ($Conf{NmbLookupPath})
+# $host NetBios name
+#
+# In some cases you might need to change the broadcast address, for
+# example if nmblookup uses 192.168.255.255 by default and you find
+# that doesn't work, try 192.168.1.255 (or your equivalent class C
+# address) using the -B option:
+#
+# $Conf{NmbLookupFindHostCmd} = '$nmbLookupPath -B 192.168.1.255 $host';
+#
+$Conf{NmbLookupFindHostCmd} = '$nmbLookupPath $host';
+
#
# For fixed IP address hosts, BackupPC_dump can also verify the netbios
# name to ensure it matches the host name. An error is generated if
$Conf{RestorePreUserCmd} = undef;
$Conf{RestorePostUserCmd} = undef;
+#
+# Override the client's host name. This allows multiple clients
+# to all refer to the same physical hosts. This should only be
+# set in the per-PC config file.
+#
+# Note: this setting doesn't work for DHCP hosts.
+#
+$Conf{ClientNameAlias} = undef;
+
#
# Advanced option for asking BackupPC to load additional perl modules.
# Can be a list (array ref) of module names to load at startup.