I am trying to use BackupPC to back up two hosts, but it seems like I
need some help. Backing up host#1 works fine, but the other, host#2,
does not. I'm using the rsync method. It looks like all the files are
copied to the /var/lib/backuppc/pc/host2/new folder on the BackupPC
server, but the rsync process doesn't exit. The Xfer log is empty,
NewFileList is complete and the log file just says backup started at...
Running rsync with the same arguments that BackupPC uses works fine, and
"ssh -l root host2 whoami" prints out "root" like it should.
Here is all the relevant info i can think of about the three boxes:
Server: Ubuntu 6.10 "Edgy Eft"
BackupPC Version: 2.1.2-5ubuntu3 (2.1.2pl1)
Linux 2.6.15-26-386 #1 PREEMPT Fri Sep 8 19:55:17 UTC 2006 i686 GNU/Linux
OpenSSH_4.3p2 Debian-5ubuntu1, OpenSSL 0.9.8b 04 May 2006
rsync version 2.6.8 protocol version 29
Disk usage on /var/lib/backuppc : 12%
Changes in config.pl:
$Conf{MaxBackups} = 2; // default 4
$Conf{MaxUserBackups} = 2; // default 4
$Conf{BackupFilesExclude} = '/proc'; // default undef
$Conf{XferMethod} = 'rsync'; // default 'smb'
$Conf{CompressLevel} = 3; // default 0
Host#1: Debian 4.0 "Etch" (BACKUP WORKS FINE)
Linux 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 i686 GNU/Linux
rsync version 2.6.9 protocol version 29
OpenSSH_4.3p2 Debian-9, OpenSSL 0.9.8c 05 Sep 2006
Host#1 has no config file
Host#2: Ubuntu 6.06 LTS "Dapper Drake" Server Edition
Linux 2.6.15-28-server #1 SMP Thu Feb 1 16:58:14 UTC 2007 i686 GNU/Linux
rsync version 2.6.6 protocol version 29
OpenSSH_4.2p1 Debian-7ubuntu3.1, OpenSSL 0.9.8a 11 Oct 2005
(both rsync and ssh versions are the most recent available on the ubuntu
apt repositories)
Host2.pl (we have been trying a lot of different excludes to minimize
the size, but here are the essential ones):
#=============================================================-*-perl-*-
$Conf{BackupFilesExclude} =
['/pub','/tmp','/proc','/media','/sys/bus/pci/drivers','/var','/root','/usr','/bin','/lib'];
I hope someone can help.
Regards,
Thomas Nygreen
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/