Re: [BackupPC-users] Newbie issue

2007-09-17 Thread Craig Barratt
Jack writes:

> Thanks Steven. ... to me it looks like it is getting the list compiled,
> Here is what I see in the log:
> 
> 
> File /var/lib/backuppc/pc/vcch164/XferLOG.bad.z (Extracting only Errors) 
> Contents of file /var/lib/backuppc/pc/vcch164/XferLOG.bad.z, modified 
> 2007-09-17 14:51:18 (Extracting only Errors)
> 
> 
> 
> Running: /usr/bin/ssh -x [EMAIL PROTECTED] /usr/local/bin/rsync-new --server 
> --sender --numeric-ids --perms --owner --group --devices --links --times 
> --block-size=2048 --recursive --exclude=/proc --exclude=/dev --exclude=/cdrom 
> --exclude=/media --exclude=/floppy --exclude=/mnt --exclude=/var/lib/backuppc 
> --exclude=/backup --exclude=/lost+found --exclude=/tmp --exclude=/temp 
> --ignore-times . /

Replace --devices with -D in $Conf{RsyncArgs} and $Conf{RsyncRestoreArgs}.

Criag

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Newbie issue

2007-09-17 Thread Jack Coats
Thanks Steven. ... to me it looks like it is getting the list compiled, 
Here is what I see in the log:



File /var/lib/backuppc/pc/vcch164/XferLOG.bad.z (Extracting only Errors)
Contents of file /var/lib/backuppc/pc/vcch164/XferLOG.bad.z, modified
2007-09-17 14:51:18 (Extracting only Errors)


Running: /usr/bin/ssh -x [EMAIL PROTECTED] /usr/local/bin/rsync-new --server 
--sender --numeric-ids --perms --owner --group --devices --links --times 
--block-size=2048 --recursive --exclude=/proc --exclude=/dev --exclude=/cdrom 
--exclude=/media --exclude=/floppy --exclude=/mnt --exclude=/var/lib/backuppc 
--exclude=/backup --exclude=/lost+found --exclude=/tmp --exclude=/temp 
--ignore-times . /
Xfer PIDs are now 18687
Got remote protocol 29
Negotiated protocol version 26
Sent exclude: /proc
Sent exclude: /dev
Sent exclude: /cdrom
Sent exclude: /media
Sent exclude: /floppy
Sent exclude: /mnt
Sent exclude: /var/lib/backuppc
Sent exclude: /backup
Sent exclude: /lost+found
Sent exclude: /tmp
Sent exclude: /temp
fileListReceive() failed
Done: 0 files, 0 bytes
Got fatal error during xfer (fileListReceive failed)
Backup aborted (fileListReceive failed)




On Mon, 2007-09-17 at 14:15 -0600, Steven Whaley wrote:

> That error message is unfortunately pretty general.  It means that
> something hung rsync before could gather the file list, likely before it
> even attempted to.  If you go to the host summary and view the error log
> it might give you more detail on what problem was.  If that doesn't help
> try running the RsyncClientCmd by hand on the CLI and see what kind of
> error message you get. 
> 
> Jack Coats wrote:
> > Ok, I assume this is a dumb user problem. ... I am testing getting
> > backuppc to work with this Linux client, but I cannot get it to work
> > for me.
> >
> > I do have Dirvish working with the same client.
> >
> > My log says:
> >
> > 2007-09-17 14:51:09 vcch164
> >  is dhcp
> > 192.168.98.164, user is vcch164
> > 
> > 2007-09-17 14:51:09 full backup started for directory /
> > 2007-09-17 14:51:13 Got fatal error during xfer (fileListReceive failed)
> > 2007-09-17 14:51:18 Backup aborted (fileListReceive failed)
> >
> >  
> >
> >
> > client config:
> >
> >  
> >
> > Contents of file /etc/backuppc/vcch164.pl, modified 2007-08-23 12:55:59 
> >   
> >
> > $Conf{XferMethod} 
> > 
> >  = 'rsync';
> > $Conf{RsyncClientPath} 
> > 
> >  = '/usr/local/bin/rsync-new';
> > #Conf{RsyncClientCmd} = '$sshPath -q -x -l vcchtech $host $rsyncPath 
> > $argList+';
> > $Conf{RsyncClientCmd} 
> > 
> >  = '$sshPath-x [EMAIL PROTECTED] $rsyncPath $argList+';
> > #$Conf{RsyncClientRestoreCmd} 
> > 
> >  = '$sshPath -q -x -l vcchtech $host $rsyncPath $argList+';
> > $Conf{RsyncClientRestoreCmd} 
> > 
> >  = '$sshPath -q -x -l [EMAIL PROTECTED] $rsyncPath $argList+';
> >
> > $Conf{TarShareName} 
> > 
> >  = ['/'];
> >
> > #Conf{TarClientCmd} = '/usr/bin/sudo /usr/local/bin/tarCreate -v -f - -C 
> > $shareName --totals';
> > $Conf{TarClientCmd} 
> > 
> >  = '/usr/local/bin/tarCreate -v -f - -C $shareName --totals';
> >
> > $Conf{BackupFilesExclude} 
> > 
> >  = ['/proc', '/dev', '/cdrom', '/media', '/floppy', '/mnt', 
> > '/var/lib/backuppc', '/backup', '/lost+found', '/tmp', '/temp'];
> >  
> >
> >   
> >
> > And the rsync-new is a script in /usr/local/bin:
> >
> > #!/bin/sh
> > sudo /usr/bin/rsync $*
> >
> > And the user vcchtech has permission to issue sudo /usr/bin/rsync
> > without being prompted for a password.
> >
> > I really don't want to clutter up the list, but I will gladly send any 
> > config information that is needed for debugging.
> >
> > I have been beating my head on this for quite a while, so your assistance 
> > is appreciated. ... Jack
> >   
> > 
> >
> > -
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2005.
> > http://clk.atdmt.com/MRT/go/vse012

Re: [BackupPC-users] Newbie issue

2007-09-17 Thread Steven Whaley
That error message is unfortunately pretty general.  It means that
something hung rsync before could gather the file list, likely before it
even attempted to.  If you go to the host summary and view the error log
it might give you more detail on what problem was.  If that doesn't help
try running the RsyncClientCmd by hand on the CLI and see what kind of
error message you get. 

Jack Coats wrote:
> Ok, I assume this is a dumb user problem. ... I am testing getting
> backuppc to work with this Linux client, but I cannot get it to work
> for me.
>
> I do have Dirvish working with the same client.
>
> My log says:
>
> 2007-09-17 14:51:09 vcch164
>  is dhcp
> 192.168.98.164, user is vcch164
> 
> 2007-09-17 14:51:09 full backup started for directory /
> 2007-09-17 14:51:13 Got fatal error during xfer (fileListReceive failed)
> 2007-09-17 14:51:18 Backup aborted (fileListReceive failed)
>
>  
>
>
> client config:
>
>  
>
> Contents of file /etc/backuppc/vcch164.pl, modified 2007-08-23 12:55:59 
>   
>
> $Conf{XferMethod} 
> 
>  = 'rsync';
> $Conf{RsyncClientPath} 
> 
>  = '/usr/local/bin/rsync-new';
> #Conf{RsyncClientCmd} = '$sshPath -q -x -l vcchtech $host $rsyncPath 
> $argList+';
> $Conf{RsyncClientCmd} 
> 
>  = '$sshPath-x [EMAIL PROTECTED] $rsyncPath $argList+';
> #$Conf{RsyncClientRestoreCmd} 
> 
>  = '$sshPath -q -x -l vcchtech $host $rsyncPath $argList+';
> $Conf{RsyncClientRestoreCmd} 
> 
>  = '$sshPath -q -x -l [EMAIL PROTECTED] $rsyncPath $argList+';
>
> $Conf{TarShareName} 
> 
>  = ['/'];
>
> #Conf{TarClientCmd} = '/usr/bin/sudo /usr/local/bin/tarCreate -v -f - -C 
> $shareName --totals';
> $Conf{TarClientCmd} 
> 
>  = '/usr/local/bin/tarCreate -v -f - -C $shareName --totals';
>
> $Conf{BackupFilesExclude} 
> 
>  = ['/proc', '/dev', '/cdrom', '/media', '/floppy', '/mnt', 
> '/var/lib/backuppc', '/backup', '/lost+found', '/tmp', '/temp'];
>  
>
>   
>
> And the rsync-new is a script in /usr/local/bin:
>
> #!/bin/sh
> sudo /usr/bin/rsync $*
>
> And the user vcchtech has permission to issue sudo /usr/bin/rsync
> without being prompted for a password.
>
> I really don't want to clutter up the list, but I will gladly send any config 
> information that is needed for debugging.
>
> I have been beating my head on this for quite a while, so your assistance is 
> appreciated. ... Jack
>   
> 
>
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> 
>
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/
>   

-- 
Puryear Information Technology, LLC
Baton Rouge, LA * 225-706-8414
http://www.puryear-it.com

Visit http://www.puryear-it.com/pubs/ebooks/ to download your free
copies of:

 "Best Practices for Managing Linux and UNIX Servers"
 "Spam Fighting and Email Security in the 21st Century"


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Newbie issue

2007-09-17 Thread Steven Whaley
Jack,

What does the full XferLOG (not just the error log) for that session say?

Jack Coats wrote:
> Thanks Steven. ... to me it looks like it is getting the list compiled,
> Here is what I see in the log:
>
> File /var/lib/backuppc/pc/vcch164/XferLOG.bad.z (Extracting only
> Errors) Contents of file /var/lib/backuppc/pc/vcch164/XferLOG.bad.z,
> modified 2007-09-17 14:51:18 (Extracting only Errors)
>
> Running: /usr/bin/ssh -x [EMAIL PROTECTED] /usr/local/bin/rsync-new --server 
> --sender --numeric-ids --perms --owner --group --devices --links --times 
> --block-size=2048 --recursive --exclude=/proc --exclude=/dev --exclude=/cdrom 
> --exclude=/media --exclude=/floppy --exclude=/mnt --exclude=/var/lib/backuppc 
> --exclude=/backup --exclude=/lost+found --exclude=/tmp --exclude=/temp 
> --ignore-times . /
> Xfer PIDs are now 18687
> Got remote protocol 29
> Negotiated protocol version 26
> Sent exclude: /proc
> Sent exclude: /dev
> Sent exclude: /cdrom
> Sent exclude: /media
> Sent exclude: /floppy
> Sent exclude: /mnt
> Sent exclude: /var/lib/backuppc
> Sent exclude: /backup
> Sent exclude: /lost+found
> Sent exclude: /tmp
> Sent exclude: /temp
> fileListReceive() failed
> Done: 0 files, 0 bytes
> Got fatal error during xfer (fileListReceive failed)
> Backup aborted (fileListReceive failed)
>   
>
>
>
> On Mon, 2007-09-17 at 14:15 -0600, Steven Whaley wrote:
>>  That error message is unfortunately pretty general.  It means that 
>>  something hung rsync before could gather the file list, likely before it 
>>  even attempted to.  If you go to the host summary and view the error log 
>>  it might give you more detail on what problem was.  If that doesn't help 
>>  try running the RsyncClientCmd by hand on the CLI and see what kind of 
>>  error message you get.  
>>
>>  Jack Coats wrote: 
>>  > Ok, I assume this is a dumb user problem. ... I am testing getting 
>>  > backuppc to work with this Linux client, but I cannot get it to work 
>>  > for me. 
>>  > 
>>  > I do have Dirvish working with the same client. 
>>  > 
>>  > My log says: 
>>  > 
>>  > 2007-09-17 14:51:09 vcch164 
>>  >  is dhcp 
>>  > 192.168.98.164, user is vcch164 
>>  >  
>>  > 2007-09-17 14:51:09 full backup started for directory / 
>>  > 2007-09-17 14:51:13 Got fatal error during xfer (fileListReceive failed) 
>>  > 2007-09-17 14:51:18 Backup aborted (fileListReceive failed) 
>>  > 
>>  >   
>>  > 
>>  > 
>>  > client config: 
>>  > 
>>  >   
>>  > 
>>  > Contents of file /etc/backuppc/vcch164.pl, modified 2007-08-23 12:55:59  
>>  >
>>  > 
>>  > $Conf{XferMethod} 
>> >  
>> >
>>  = 'rsync'; 
>>  > $Conf{RsyncClientPath} 
>> >  
>> >
>>  = '/usr/local/bin/rsync-new'; 
>>  > #Conf{RsyncClientCmd} = '$sshPath -q -x -l vcchtech $host $rsyncPath 
>> $argList+'; 
>>  > $Conf{RsyncClientCmd} 
>> >  
>> >
>>  = '$sshPath-x [EMAIL PROTECTED] $rsyncPath $argList+'; 
>>  > #$Conf{RsyncClientRestoreCmd} 
>> >  
>> >
>>  = '$sshPath -q -x -l vcchtech $host $rsyncPath $argList+'; 
>>  > $Conf{RsyncClientRestoreCmd} 
>> >  
>> >
>>  = '$sshPath -q -x -l [EMAIL PROTECTED] $rsyncPath $argList+'; 
>>  > 
>>  > $Conf{TarShareName} 
>> >  
>> >
>>  = ['/']; 
>>  > 
>>  > #Conf{TarClientCmd} = '/usr/bin/sudo /usr/local/bin/tarCreate -v -f - -C 
>> $shareName --totals'; 
>>  > $Conf{TarClientCmd} 
>> >  
>> >
>>  = '/usr/local/bin/tarCreate -v -f - -C $shareName --totals'; 
>>  > 
>>  > $Conf{BackupFilesExclude} 
>> >  
>>