SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Excludes causes all backups to fail...
Author Message
Post Excludes causes all backups to fail... 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Basically putting any exclude at all like this:
$Conf{BackupFilesExclude} = 'Cache/';

Causes backups to fail, because backuppc is sending the exclude statement to the
remote box, and it's
not a suitable server side command. Removing the allows the backups to run
correctly.

Specifically the command and error is:

Running: /usr/bin/ssh -q -x -l root box750.undertow.2y.net /usr/bin/rsync
- --server --sender --numeric-ids --perms --owner --group --devices --links
- --times --block-size=2048 --recursive
- --checksum-seed=32761 --exclude=Cache/ . /etc/

Fatal error (bad version): rsync: Error parsing options: option may be supported
on client but not on server?
rsync error: syntax or usage error (code 1) at main.c(1054)

I see this at 2 different sites-- both are installed via the Debian backuppc
package version 2.1.0-2.



- --- full session below ---

backuppc < at > box866:/backuppc/bin$ ./BackupPC_dump -iv box750.undertow.2y.net
cmdSystemOrEval: about to system /bin/ping -c 1 box750.undertow.2y.net
cmdSystemOrEval: finished: got output PING box750 (10.0.0.5): 56 data bytes
64 bytes from 10.0.0.5: icmp_seq=0 ttl=63 time=3.9 ms

- --- box750 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 3.9/3.9/3.9 ms

cmdSystemOrEval: about to system /bin/ping -c 1 box750.undertow.2y.net
cmdSystemOrEval: finished: got output PING box750 (10.0.0.5): 56 data bytes
64 bytes from 10.0.0.5: icmp_seq=0 ttl=63 time=5.0 ms

- --- box750 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 5.0/5.0/5.0 ms

CheckHostAlive: returning 5.0
started incr dump, share=/etc
Running: /usr/bin/ssh -q -x -l root box750.undertow.2y.net /usr/bin/rsync
- --server --sender --numeric-ids --perms --owner --group --devices --links
- --times --block-size=2048 --recursive
- --checksum-seed=32761 --exclude=Cache/ . /etc/
Xfer PIDs are now 22517
xferPids 22517
Rsync command pid is 22517
Fetching remote protocol
Got remote protocol 1853453170
Fatal error (bad version): rsync: Error parsing options: option may be supported
on client but not on server?

Checksum seed is 1159740003
Got checksumSeed 0x45203a63
Read EOF:
Tried again: got 0 bytes
fileListReceive() failed
Done: 0 files, 0 bytes
Got fatal error during xfer (fileListReceive failed)
cmdSystemOrEval: about to system /bin/ping -c 1 box750.undertow.2y.net
cmdSystemOrEval: finished: got output PING box750 (10.0.0.5): 56 data bytes
64 bytes from 10.0.0.5: icmp_seq=0 ttl=63 time=4.3 ms

- --- box750 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 4.3/4.3/4.3 ms

cmdSystemOrEval: about to system /bin/ping -c 1 box750.undertow.2y.net
cmdSystemOrEval: finished: got output PING box750 (10.0.0.5): 56 data bytes
64 bytes from 10.0.0.5: icmp_seq=0 ttl=63 time=4.4 ms

- --- box750 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 4.4/4.4/4.4 ms

CheckHostAlive: returning 4.4
Backup aborted (fileListReceive failed)
dump failed: fileListReceive failed
backuppc < at > box866:/backuppc/bin$



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBDrcNPt/WS5aO4BwRAhC8AJ45pKOmciNh+oUOMUoVAFNrOmultwCdENe6
EBy/RkZDu+bxVnDK/JI/OGI=
=NQy8
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Post Excludes causes all backups to fail... 
Kevin Currie writes:

Basically putting any exclude at all like this:
$Conf{BackupFilesExclude} = 'Cache/';

Causes backups to fail, because backuppc is sending the exclude
statement to the remote box, and it's not a suitable server side
command. Removing the allows the backups to run correctly.

Specifically the command and error is:

Running: /usr/bin/ssh -q -x -l root box750.undertow.2y.net /usr/bin/rsync
- --server --sender --numeric-ids --perms --owner --group --devices --links
- --times --block-size=2048 --recursive
- --checksum-seed=32761 --exclude=Cache/ . /etc/

Fatal error (bad version): rsync: Error parsing options: option may be supported
on client but not on server?
rsync error: syntax or usage error (code 1) at main.c(1054)

I see this at 2 different sites-- both are installed via the Debian backuppc
package version 2.1.0-2.

The --exclude option certainly is a sender-side option, so I'm sure
that's not the problem.

The most likely issue is --checksum-seed=32761. The --checksum-seed
option is not a standard option in rsync. It is in rsync CVS, but not
2.6.2. You need to make sure you are running a patched remote rsync for
that option to work (there is a patch for rsync on the BackupPC SF site).

Could you re-check whether it is really the --checksum-seed option and
not the exclude option that is causing the problem?

Craig


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB