@@ -43,15 +43,16 @@ and restore files from backups.
43
43
44
44
The http/cgi user interface has internationalization (i18n) support,
45
45
currently providing English, French, German, Spanish, Italian,
46
- Dutch and Portuguese-Brazilian.
46
+ Dutch, Polish, Portuguese-Brazilian and Chinese
47
47
48
48
=item *
49
49
50
- No client-side software is needed. On WinXX the standard smb protocol is
51
- used to extract backup data. On linux, unix or MacOSX clients, rsync or
52
- tar (over ssh/rsh/nfs) is used to extract backup data. Alternatively,
53
- rsync can also be used on WinXX (using cygwin), and Samba could be
54
- installed on the linux or unix client to provide smb shares).
50
+ No client-side software is needed. On WinXX the standard smb
51
+ protocol is used to extract backup data. On linux, unix or MacOSX
52
+ clients, rsync, tar (over ssh/rsh/nfs) or ftp is used to extract
53
+ backup data. Alternatively, rsync can also be used on WinXX (using
54
+ cygwin), and Samba could be installed on the linux or unix client
55
+ to provide smb shares).
55
56
56
57
=item *
57
58
@@ -278,9 +279,8 @@ pooling) and a convenient user interface to rsync.
278
279
Two popular open source packages that do tape backup are
279
280
Amanda (L<http://www.amanda.org>)
280
281
and Bacula (L<http://www.bacula.org>).
281
- Amanda can also backup WinXX machines to tape using samba.
282
- These packages can be used as back ends to BackupPC to backup the
283
- BackupPC server data to tape.
282
+ These packages can be used as complete solutions, or also as back
283
+ ends to BackupPC to backup the BackupPC server data to tape.
284
284
285
285
Various programs and scripts use rsync to provide hardlinked backups.
286
286
See, for example, Mike Rubel's site (L<http://www.mikerubel.org/computers/rsync_snapshots>),
@@ -304,7 +304,7 @@ consideration.
304
304
=head2 Road map
305
305
306
306
The new features planned for future releases of BackupPC
307
- are at L<http://backuppc.sourceforge.net/faq/roadMap.html >.
307
+ are on the Wiki at L<http://backuppc.wiki. sourceforge.net>.
308
308
309
309
Comments and suggestions are welcome.
310
310
@@ -350,7 +350,7 @@ moderately configured server.
350
350
Several users have reported significantly better performance using
351
351
reiserfs compared to ext3 for the BackupPC data file system. It is
352
352
also recommended you consider either an LVM or RAID setup (either
353
- in HW or SW; eg: 3Ware RAID5) so that you can expand the
353
+ in HW or SW; eg: 3Ware RAID10 or RAID5) so that you can expand the
354
354
file system as necessary.
355
355
356
356
When BackupPC starts with an empty pool, all the backup data will be
@@ -397,11 +397,10 @@ distributions for most platforms.
397
397
398
398
=item *
399
399
400
- If you are using tar to backup linux/unix machines you should have version
401
- 1.13.7 at a minimum, with version 1.13.20 or higher recommended. Use
400
+ If you are using tar to backup linux/unix machines, those machines should have
401
+ version 1.13.7 at a minimum, with version 1.13.20 or higher recommended. Use
402
402
"tar --version" to check your version. Various GNU mirrors have the newest
403
- versions of tar, see for example L<http://www.funet.fi/pub/gnu/alpha/gnu/tar>.
404
- As of July 2006 the latest version is 1.15.1.
403
+ versions of tar; see L<http://www.gnu.org/software/tar/>.
405
404
406
405
=item *
407
406
@@ -552,15 +551,22 @@ module is installed.
552
551
To use rsync and rsyncd with BackupPC you will need to install File::RsyncP.
553
552
You can run "perldoc File::RsyncP" to see if this module is installed.
554
553
File::RsyncP is available from L<http://perlrsync.sourceforge.net>.
555
- Version 0.52 or later is required.
554
+ Version 0.68 or later is required.
555
+
556
+ =item File::RsyncP
557
+
558
+ To use ftp with BackupPC you will need to install three libraries:
559
+ Net::FTP, Net::FTP::RetrHandle and Net::FTP::AutoReconnect. You can
560
+ run "perldoc Net::FTP" to see if a particular module is installed.
556
561
557
562
=back
558
563
559
- To build and install these packages, fetch the tar.gz file and
560
- then run these commands:
564
+ To build and install these packages you should use the cpan program.
565
+ Alternatively, you can fetch the tar.gz file from L<http://www.cpan.org>
566
+ and then run these commands:
561
567
562
- tar zxvf Archive-Zip-1.16 .tar.gz
563
- cd Archive-Zip-1.16
568
+ tar zxvf Archive-Zip-1.26 .tar.gz
569
+ cd Archive-Zip-1.26
564
570
perl Makefile.PL
565
571
make
566
572
make test
@@ -695,11 +701,12 @@ they can be set for new installations using command-line options.
695
701
=head2 Step 3: Setting up config.pl
696
702
697
703
After running configure.pl, browse through the config file,
698
- __CONFDIR__/config.pl, and make sure all the default settings
699
- are correct. In particular, you will need to decide whether to use
700
- smb, tar or rsync transport (or whether to set it on a per-PC basis)
701
- and set the relevant parameters for that transport method.
702
- See the section L<Client Setup|step 5: client setup> for more details.
704
+ __CONFDIR__/config.pl, and make sure all the default settings are
705
+ correct. In particular, you will need to decide whether to use
706
+ smb, tar,or rsync or ftp transport (or whether to set it on a
707
+ per-PC basis) and set the relevant parameters for that transport
708
+ method. See the section L<Client Setup|step 5: client setup> for
709
+ more details.
703
710
704
711
=head2 Step 4: Setting up the hosts file
705
712
@@ -803,9 +810,10 @@ Here's a simple example of a hosts file:
803
810
804
811
=head2 Step 5: Client Setup
805
812
806
- Three methods for getting backup data from a client are supported: smb,
807
- tar and rsync. Smb or rsync are the preferred methods for WinXX clients
808
- and rsync or tar are the preferred methods for linux/unix/MacOSX clients.
813
+ Four methods for getting backup data from a client are supported:
814
+ smb, tar, rsync and ftp. Smb or rsync are the preferred methods
815
+ for WinXX clients and rsync or tar are the preferred methods for
816
+ linux/unix/MacOSX clients.
809
817
810
818
The transfer method is set using the $Conf{XferMethod} configuration
811
819
setting. If you have a mixed environment (ie: you will use smb for some
@@ -977,15 +985,22 @@ the client machine and BackupPC connects directly to it.
977
985
978
986
The relevant configuration settings are $Conf{RsyncdClientPort},
979
987
$Conf{RsyncdUserName}, $Conf{RsyncdPasswd}, $Conf{RsyncdAuthRequired},
980
- $Conf{RsyncShareName}, $Conf{RsyncArgs}, and $Conf{RsyncRestoreArgs}.
981
- $Conf{RsyncShareName} is the name of an rsync module (ie: the thing
982
- in square brackets in rsyncd's conf file -- see rsyncd.conf), not a
983
- file system path.
988
+ $Conf{RsyncShareName}, $Conf{RsyncArgs}, $Conf{RsyncArgsExtra}, and
989
+ $Conf{RsyncRestoreArgs}. $Conf{ RsyncShareName} is the name of an rsync
990
+ module (ie: the thing in square brackets in rsyncd's conf file -- see
991
+ rsyncd.conf), not a file system path.
984
992
985
993
Be aware that rsyncd will remove the leading '/' from path names in
986
994
symbolic links if you specify "use chroot = no" in the rsynd.conf file.
987
995
See the rsyncd.conf manual page for more information.
988
996
997
+ =item ftp
998
+
999
+ You need to be running an ftp server on the client machine.
1000
+ The relevant configuration settings are $Conf{FtpShareName},
1001
+ $Conf{FtpUserName}, $Conf{FtpPasswd}, $Conf{FtpBlockSize},
1002
+ $Conf{FtpPort}, $Conf{FtpTimeout}, and $Conf{FtpFollowSymlinks}.
1003
+
989
1004
=back
990
1005
991
1006
You need to set $Conf{ClientCharset} to the client's charset so that
@@ -1045,7 +1060,7 @@ network data you can use ssh to create a tunnel, or use a
1045
1060
program like stunnel.
1046
1061
1047
1062
Setup instructions for ssh can be found at
1048
- L<http://backuppc.sourceforge.net/faq/ssh.html>.
1063
+ L<http://backuppc.sourceforge.net/faq/ssh.html> or on the Wiki .
1049
1064
1050
1065
=item Clients that use DHCP
1051
1066
@@ -1594,7 +1609,7 @@ will be deferred if there is a backup currently running for that host.
1594
1609
When the restore job is run, smbclient, tar, rsync or rsyncd is used
1595
1610
(depending upon $Conf{XferMethod}) to actually restore the files.
1596
1611
Sorry, there is currently no option to cancel a restore that has been
1597
- started.
1612
+ started. Currently ftp restores are not fully implemented.
1598
1613
1599
1614
A record of the restore request, including the result and list of
1600
1615
files and directories, is kept. It can be browsed from the host's
@@ -1981,15 +1996,15 @@ same (only displayed if $Conf{XferLogLevel} >= 2).
1981
1996
=back
1982
1997
1983
1998
As BackupPC_tarExtract extracts the files from smbclient or tar, or as
1984
- rsync runs, it checks each file in the backup to see if it is identical
1985
- to an existing file from any previous backup of any PC. It does this
1986
- without needed to write the file to disk. If the file matches an
1987
- existing file, a hardlink is created to the existing file in the pool.
1988
- If the file does not match any existing files, the file is written to
1989
- disk and the file name is saved in __TOPDIR__/pc/$host/NewFileList for
1990
- later processing by BackupPC_link. BackupPC_tarExtract and rsync can handle
1991
- arbitrarily large files and multiple candidate matching files without
1992
- needing to write the file to disk in the case of a match. This
1999
+ rsync or ftp runs, it checks each file in the backup to see if it is
2000
+ identical to an existing file from any previous backup of any PC. It
2001
+ does this without needed to write the file to disk. If the file matches
2002
+ an existing file, a hardlink is created to the existing file in the
2003
+ pool. If the file does not match any existing files, the file is written
2004
+ to disk and the file name is saved in __TOPDIR__/pc/$host/NewFileList
2005
+ for later processing by BackupPC_link. BackupPC_tarExtract and rsync
2006
+ can handle arbitrarily large files and multiple candidate matching files
2007
+ without needing to write the file to disk in the case of a match. This
1993
2008
significantly reduces disk writes (and also reads, since the pool file
1994
2009
comparison is done disk to memory, rather than disk to disk).
1995
2010
@@ -2225,7 +2240,7 @@ a suffix of 0, 1, ....
2225
2240
2226
2241
=item XferERR or XferERR.z
2227
2242
2228
- Output from the transport program (ie: smbclient, tar or rsync )
2243
+ Output from the transport program (ie: smbclient, tar, rsync or ftp )
2229
2244
for the most recent failed backup.
2230
2245
2231
2246
=item new
@@ -2235,7 +2250,7 @@ directory is renamed if the backup succeeds.
2235
2250
2236
2251
=item XferLOG or XferLOG.z
2237
2252
2238
- Output from the transport program (ie: smbclient, tar or rsync )
2253
+ Output from the transport program (ie: smbclient, tar, rsync or ftp )
2239
2254
for the current backup.
2240
2255
2241
2256
=item nnn (an integer)
@@ -2244,7 +2259,7 @@ Successful backups are in directories numbered sequentially starting at 0.
2244
2259
2245
2260
=item XferLOG.nnn or XferLOG.nnn.z
2246
2261
2247
- Output from the transport program (ie: smbclient, tar or rsync )
2262
+ Output from the transport program (ie: smbclient, tar, rsync or ftp )
2248
2263
corresponding to backup number nnn.
2249
2264
2250
2265
=item RestoreInfo.nnn
@@ -2304,11 +2319,11 @@ Stop time of the backup in unix seconds.
2304
2319
2305
2320
=item nFiles
2306
2321
2307
- Number of files backed up (as reported by smbclient, tar or rsync ).
2322
+ Number of files backed up (as reported by smbclient, tar, rsync or ftp ).
2308
2323
2309
2324
=item size
2310
2325
2311
- Total file size backed up (as reported by smbclient, tar or rsync ).
2326
+ Total file size backed up (as reported by smbclient, tar, rsync or ftp ).
2312
2327
2313
2328
=item nFilesExist
2314
2329
@@ -2332,7 +2347,7 @@ Total size of files that were not in the pool
2332
2347
2333
2348
=item xferErrs
2334
2349
2335
- Number of errors or warnings from smbclient, tar or rsync .
2350
+ Number of errors or warnings from smbclient, tar, rsync or ftp .
2336
2351
2337
2352
=item xferBadFile
2338
2353
@@ -2431,7 +2446,7 @@ Number of errors from BackupPC_tarCreate during restore.
2431
2446
2432
2447
=item xferErrs
2433
2448
2434
- Number of errors from smbclient, tar or rsync during restore.
2449
+ Number of errors from smbclient, tar, rsync or ftp during restore.
2435
2450
2436
2451
=back
2437
2452
@@ -2818,6 +2833,8 @@ Karol 'Semper' Stelmaczonek provided the Polish translation for 3.1.0.
2818
2833
2819
2834
Jeremy Tietsort provided the host summary table sorting feature for 3.1.0.
2820
2835
2836
+ Paul Mantz contributed the ftp Xfer method for 3.2.0.
2837
+
2821
2838
Many people have reported bugs, made useful suggestions and helped
2822
2839
with testing; see the ChangeLog and the mailing lists.
2823
2840
0 commit comments