I've been running BackupPC for about a year now across two machines, the server (localhost) and my laptop.  Recently, I added in a new server, in order to transition my webserver from localhost to a dedicated box.  However, I'm having great difficulty getting BackupPC to take a dump of the filesystem that /var is located on. 

This is a major problem for me, as I don't want to transition without having backups of that.  I'm able to backup every other filesystem on the machine with no problems though.  Whenever I include /var in the backups, BackupPC segfaults. 

I've included all the relevant bits that I know about, the host config file, /etc/fstab and the details of when I run the dump.  Checksum caching does work on this box, as well as sudo access for the backuppc user, as evidenced by being able to get backups of every other filesystem.

I have no clue where to go from here though, and would love some help.


This is the host's config file:
[EMAIL PROTECTED]:/etc/backuppc # cat caemlyn.pl
#
# Local server backup of /etc as user backuppc
#
$Conf{XferMethod} = 'rsync';

$Conf{RsyncClientCmd} = '$sshPath -q -x -l backuppc $host sudo $rsyncPath $argList+';
$Conf{RsyncClientRestoreCmd} = '$sshPath -q -x -l backuppc $host sudo $rsyncPath $argList+';

#$Conf{RsyncShareName} = ['/', '/home', '/boot', '/var'];
$Conf{RsyncShareName} = ['/var'];



This is /etc/fstab on the host:
[EMAIL PROTECTED]:/etc# cat fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/hda2       /               ext3    defaults,errors=remount-ro 0       1
/dev/hda1       /boot           ext3    defaults        0       2
/dev/hdb2       /home           ext3    defaults        0       2
/dev/hdb4       /var            ext3    defaults        0       2
/dev/hdb1       none            swap    sw              0       0
/dev/hdc        /media/cdrom0   iso9660 ro,user,noauto  0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0



This is what happens when I run the dump for the host:
[EMAIL PROTECTED] :/usr/share/backuppc/bin$ ./BackupPC_dump -v -f caemlyn
cmdSystemOrEval: about to system /bin/ping -c 1 caemlyn
cmdSystemOrEval: finished: got output PING caemlyn.gondor (10.0.0.7) 56(84) bytes of data.
64 bytes from caemlyn.gondor (10.0.0.7): icmp_seq=1 ttl=64 time=0.229 ms

--- caemlyn.gondor ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.229/0.229/0.229/0.000 ms

cmdSystemOrEval: about to system /bin/ping -c 1 caemlyn
cmdSystemOrEval: finished: got output PING caemlyn.gondor (10.0.0.7) 56(84) bytes of data.
64 bytes from caemlyn.gondor (10.0.0.7): icmp_seq=1 ttl=64 time=1.21 ms

--- caemlyn.gondor ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1.212/1.212/1.212/0.000 ms

CheckHostAlive: returning 1.21
started full dump, share=/var
Running: /usr/bin/ssh -q -x -l root caemlyn /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group --devices --links --times --block-size=2048 --recursive --checksum-seed=32761 --one-file-system --exclude=/proc --exclude=/media --exclude=/tmp --ignore-times . /var/
Xfer PIDs are now 321
xferPids 321
Password:
Got remote protocol 29
Checksum caching enabled (checksumSeed = 32761)
Segmentation fault
[EMAIL PROTECTED]:/usr/share/backuppc/bin$ ./BackupPC_dump -v -f caemlyn
cmdSystemOrEval: about to system /bin/ping -c 1 caemlyn
cmdSystemOrEval: finished: got output PING caemlyn.gondor (10.0.0.7) 56(84) bytes of data.
64 bytes from caemlyn.gondor ( 10.0.0.7): icmp_seq=1 ttl=64 time=0.219 ms

--- caemlyn.gondor ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.219/0.219/0.219/0.000 ms

cmdSystemOrEval: about to system /bin/ping -c 1 caemlyn
cmdSystemOrEval: finished: got output PING caemlyn.gondor (10.0.0.7) 56(84) bytes of data.
64 bytes from caemlyn.gondor (10.0.0.7): icmp_seq=1 ttl=64 time= 1.19 ms

--- caemlyn.gondor ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1.195/1.195/1.195/0.000 ms

CheckHostAlive: returning 1.19
started full dump, share=/var
Running: /usr/bin/ssh -q -x -l backuppc caemlyn sudo /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group --devices --links --times --block-size=2048 --recursive --checksum-seed=32761 --one-file-system --exclude=/proc --exclude=/media --exclude=/tmp --ignore-times . /var/
Xfer PIDs are now 353
xferPids 353
Got remote protocol 29
Checksum caching enabled (checksumSeed = 32761)
(There's a lot of "Got file (#### of 3594):" statements here)
Got file (3592 of 3594): run/mysqld/mysqld.sock
Got file (3593 of 3594):
Got file list: 3594 entries
Segmentation fault

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to