Re: [BackupPC-users] filelistrecieve failed, but manual command works
2009-08-11 11:59:00
Further debugging:
On the server I can execute the following command as the backuppc user
and it completes without error:
> /opt/local/bin/rsync --numeric-ids --perms --owner --group -D --
> links --hard-links --times --block-size=2048 --recursive --ignore-
> times [email protected]:/Users/backuppc .
On the client, I looked in my system logs and for each rsync attempt
by BackupPC I get an entry that says:
> Aug 11 00:59:26 17369-baker sudo[442]: backuppc : TTY=unknown ; PWD=/
> Users/backuppc ; USER=root ; COMMAND=/Network/macports/ppc/bin/rsync
> --server --sender --numeric-ids --perms --owner --group -D --links --
> hard-links --times --block-size=2048 --recursive --ignore-times . /
> Users/
This, too, is in line with what I'd expect.
The only thing I can think of is that it may do with differing
versions of ssh being used by client/server. I've installed a custom
openssh on the client, but it's not in the PATH. I'm investigating how
to set the path for non-interactive ssh sessions. The usual suspects
do not work, e.g. .bashrc, .bash_profile, /etc/bashrc, /etc/profile,
even ssh [email protected] "export PATH=/usr/local/bin:$PATH; echo $PATH"
does not work.
I'm unsure if this is the issue though.
-james
On Aug 10, 2009, at 3:10 PM, James Kyle wrote:
> I can't figure out why rsync is failing, any tips/hints on how to
> debug is very much appreciated.
>
> I'm using ssh with pub/private keys.
>
> I can execute any arbitrary command using ssh from server to client
> (ssh -l backuppc ls / ), I can also manually execute rsync commands
> from user to client including that generated by backuppc itself.
>> /usr/bin/ssh -x -n -l backuppc foo.local /usr/bin/sudo /Network/
>> macports/ppc/bin/rsync --numeric-ids --perms --owner --group -D --
>> links --hard-links --times --block-size=2048 --recursive --ignore-
>> times . /Users/
>
> With server/sender removed. Of course, without the --sender/--server
> opts it syncs the local directories of the client.
> I'm unclear on exactly how to "emulate" the backuppc commands
> manually for testing or where to go form here.
> Below is the sparse log output (cranked all the way up in debug level)
>
>> Contents of file /Volumes/backups/pc/foo.local/XferLOG.bad.z,
>> modified 2009-08-10 15:05:12 (Extracting only Errors)
>>
>> full backup started for directory /Users Running: /usr/bin/ssh -x -
>> n -l backuppc foo.local /usr/bin/sudo /Network/macports/ppc/bin/
>> rsync -vv --server --sender --numeric-ids --perms --owner --group -
>> D --links --hard-links --times --block-size=2048 --recursive --
>> ignore-times . /Users/ Xfer PIDs are now 79669
>> Rsync command pid is 79669
>> Fetching remote protocol
>> Got remote protocol 30 Negotiated protocol version 28
>> Checksum seed is 1853453170
>> Got checksumSeed 0x6e797372
>> Sent exclude: *Trash* Sent exclude: /proc/* Sent exclude: /dev/*
>> Sent exclude: *tmp/* Sent exclude: *.ogg Sent exclude: *.tmp Sent
>> exclude: *temp* Sent exclude: *Music* Sent exclude: *Movies* Sent
>> exclude: *.avi Sent exclude: *.mov Sent exclude: *.mpg Sent
>> exclude: *.mpeg Sent exclude: *.qt Sent exclude: *.wma Sent
>> exclude: .ra Sent exclude: *.au Sent exclude: *.Spotlight-* Sent
>> exclude: *.DS_Store Sent exclude: *hotfiles.btree Sent exclude: /
>> var Sent exclude: *.log Sent exclude: *.cpan Sent exclude: */var
>> Sent exclude: *Caches Sent exclude: *.cache Sent exclude:
>> *Parallels Sent exclude: /Volumes/* Sent exclude: *sparseimage Sent
>> exclude: *Downloads* Sent exclude: *VirtualBox/* Sent exclude:
>> *Support/VMware* Sent exclude: /Network/* Sent exclude: /mach
>> Read EOF:
>> Tried again: got 0 bytes
>> fileListReceive() failed
>> Done: 0 files, 0 bytes Got fatal error during xfer (fileListReceive
>> failed) Backup aborted (fileListReceive failed)
>> Not saving this as a partial backup since it has fewer files than
>> the prior one (got 0 and 0 files versus 0)
>
> Cheers,
>
> -jkyl
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [BackupPC-users] filelistrecieve failed, but manual command works, James Kyle
- Re: [BackupPC-users] filelistrecieve failed, but manual command works,
James Kyle <=
- Re: [BackupPC-users] filelistrecieve failed, but manual command works, James Kyle
- Re: [BackupPC-users] filelistrecieve failed, but manual command works, James Kyle
- Re: [BackupPC-users] filelistrecieve failed, but manual command works, Les Mikesell
- Re: [BackupPC-users] filelistrecieve failed, but manual command works, James Kyle
- Re: [BackupPC-users] filelistrecieve failed, but manual command works, Les Mikesell
- Re: [BackupPC-users] filelistrecieve failed, but manual command works, James Kyle
- Re: [BackupPC-users] filelistrecieve failed, but manual command works, Les Mikesell
- Re: [BackupPC-users] filelistrecieve failed, but manual command works, James Kyle
- Re: [BackupPC-users] filelistrecieve failed, but manual command works, James Kyle
- Re: [BackupPC-users] filelistrecieve failed, but manual command works, James Kyle
|
|
|