summaryrefslogtreecommitdiff
blob: 79ad6547fa6ff85c60001d175ec9dfd9b53a8e77 (plain)
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
--- conf/config.pl.dist	2013-09-23 23:05:50.332064754 +0300
+++ conf/config.pl	2013-09-23 23:07:44.110943607 +0300
@@ -355,7 +355,7 @@
 # needs to be a full path and you can't include shell syntax like
 # redirection and pipes; put that in a script if you need it.
 #
-$Conf{ServerInitdPath} = '';
+$Conf{ServerInitdPath} = undef;
 $Conf{ServerInitdStartCmd} = '';
 
 
@@ -373,7 +373,7 @@
 # time taken for the backup, plus the granularity of $Conf{WakeupSchedule}
 # will make the actual backup interval a bit longer.
 #
-$Conf{FullPeriod} = 6.97;
+$Conf{FullPeriod} = '6.97';
 
 #
 # Minimum period in days between incremental backups (a user requested
@@ -383,7 +383,7 @@
 # time taken for the backup, plus the granularity of $Conf{WakeupSchedule}
 # will make the actual backup interval a bit longer.
 #
-$Conf{IncrPeriod} = 0.97;
+$Conf{IncrPeriod} = '0.97';
 
 #
 # Number of full backups to keep.  Must be >= 1.
@@ -458,7 +458,7 @@
 #    $Conf{FullKeepCnt} = 4;
 #    $Conf{FullKeepCnt} = [4];
 #
-$Conf{FullKeepCnt} = 1;
+$Conf{FullKeepCnt} = [1];
 
 #
 # Very old full backups are removed after $Conf{FullAgeMax} days.  However,
@@ -688,7 +688,7 @@
 #       '*' => ['/myFiles', '/important'],      # these are other shares
 #    };
 #
-$Conf{BackupFilesOnly} = undef;
+$Conf{BackupFilesOnly} = {};
 
 #
 # List of directories or files to exclude from the backup.  For Smb,
@@ -749,7 +749,7 @@
 #       '*' => ['/junk', '/dont_back_this_up'], # these are for other shares
 #    };
 #
-$Conf{BackupFilesExclude} = undef;
+$Conf{BackupFilesExclude} = {};
 
 #
 # PCs that are always or often on the network can be backed up after
@@ -932,7 +932,7 @@
 #
 # This setting only matters if $Conf{XferMethod} = 'smb'.
 #
-$Conf{SmbShareName} = 'C$';
+$Conf{SmbShareName} = ['C$'];
 
 #
 # Smbclient share user name.  This is passed to smbclient's -U argument.
@@ -1054,7 +1054,7 @@
 #
 # This setting only matters if $Conf{XferMethod} = 'tar'.
 #
-$Conf{TarShareName} = '/';
+$Conf{TarShareName} = ['/'];
 
 #
 # Command to run tar on the client.  GNU tar is required.  You will
@@ -1233,7 +1233,7 @@
 #
 #     $Conf{RsyncShareName} = ['/', '/var', '/data', '/boot'];
 #
-$Conf{RsyncShareName} = '/';
+$Conf{RsyncShareName} = ['/'];
 
 #
 # Rsync daemon port on the client, for $Conf{XferMethod} = "rsyncd".
@@ -1285,7 +1285,7 @@
 #   
 # This setting has no effect unless checksum caching is turned on.
 #   
-$Conf{RsyncCsumCacheVerifyProb} = 0.01;
+$Conf{RsyncCsumCacheVerifyProb} = '0.01';
 
 #
 # Arguments to rsync for backup.  Do not edit the first set unless you
@@ -1883,7 +1883,7 @@
 # rounded up (ie: 2.5 means a user will never receive email more
 # than once every 3 days).
 #
-$Conf{EMailNotifyMinDays} = 2.5;
+$Conf{EMailNotifyMinDays} = '2.5';
 
 #
 # Name to use as the "from" name for email.  Depending upon your mail
@@ -1938,7 +1938,7 @@
 # When there have been no backups in this number of days the user
 # is sent an email.
 #
-$Conf{EMailNotifyOldBackupDays} = 7.0;
+$Conf{EMailNotifyOldBackupDays} = 7;
 
 #
 # This subject and message is sent to a user if their PC has not recently
@@ -1965,7 +1965,7 @@
 # How old the most recent backup of Outlook files has to be before
 # notifying user.
 #
-$Conf{EMailNotifyOldOutlookDays} = 5.0;
+$Conf{EMailNotifyOldOutlookDays} = 5;
 
 #
 # This subject and message is sent to a user if their Outlook files have
@@ -2102,14 +2102,17 @@
     {
         link  => "?action=view&type=docs",
         lname => "Documentation",    # actually displays $Lang->{Documentation}
+        name  => undef,
     },
     {
         link  => "http://backuppc.wiki.sourceforge.net",
         name  => "Wiki",              # displays literal "Wiki"
+        lname => undef,
     },
     {
         link  => "http://backuppc.sourceforge.net",
         name  => "SourceForge",      # displays literal "SourceForge"
+        lname => undef,
     },
 ];