Hello,

I have a strange (for me a least) problem when I try to backup the localhost with backuppc.

I had to change my hdd, so I upgrade my FC4 to FC5. I made a fresh backuppc install and use my FC4 config.pl and hosts files .
Everything seems to be ok for hosts on network.

For my localhost, when I try to use the cgi interface for a full backup, I've the following :
Running: /usr/bin/sudo /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group -D --links --times --block-size=2048 --recursive --include=/etc --include=/boot --include=/var --include=/home --exclude=/\* --exclude=/var/cache --exclude=/var/temp --ignore-times . /
Xfer PIDs are now 19323
Rsync command pid is 19323
Fetching remote protocol
Read EOF: Connexion ré-initialisée par le correspondant
Tried again: got 0 bytes
Done: 0 files, 0 bytes
Got fatal error during xfer (Unable to read 4 bytes)
Backup aborted (Unable to read 4 bytes)

I don't understand what is the error. Everything is ok when I launch backup manually with the command line :
/usr/local/backuppc/bin/BackupPC_dump -v -f localhost

A few precisions now. The config.pl file for localhost looks like :
$Conf{BackupFilesOnly} = ['/etc', '/boot', '/var', '/home'];
$Conf{BackupFilesExclude} = ['/var/cache', '/var/temp'];
$Conf{XferMethod} = 'rsync';
$Conf{XferLogLevel} = 1;
$Conf{RsyncShareName} = '/';
$Conf{RsyncClientCmd} = '/usr/bin/sudo $rsyncPath $argList';
$Conf{RsyncClientRestoreCmd} = '/usr/bin/sudo $rsyncPath $argList';
$Conf{ArchiveComp} = 'bzip2';

Also, in the config.pl file I replaced '--devices' by '-D' for $Conf{RsyncArgs}
I added 'backuppc ALL=NOPASSWD: /usr/bin/rsync' with visudo so I can use directly rsync without ssh for this host.

Thank you fo any help :)
Johan
--
Get Firefox!


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
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to