Hi,
komodo wrote on 14.05.2007 at 15:48:46 [[BackupPC-users] Can't call method
"abort".....]:
> I have strange problem with my backup server. I am using backuppc 3.0, but
> when i want to start backup for remote machine i get this error
>
> bash-2.05b$ /data/backuppc/bin/BackupPC_dump -v -f host
> Can't call method "abort" on an undefined value
> at /data/backuppc/bin/BackupPC_dump line 1017.
>
> And in logfile for this host is
>
> 2007-05-14 15:45:18 Aborting backup up after signal ALRM
apparently your backup times out before even starting the transfer
(DumpPreUserCmd/DumpPreShareCmd?). Actually BackupPC_dump should only try
to abort the transfer if it got so far as to have started one (patch for
Craig attached), but that will only get rid of the error message, not
the timeout.
What is your ClientTimeout set to? BackupPC_dump may need to do quite a few
things before running the backup (compress log files, expire backups), so
you shouldn't set it unreasonably low (well, you can't do that for rsync
anyway).
How long after starting BackupPC_dump did it abort with sig=ALRM?
Regards,
Holger
--- BackupPC_dump.orig Mon Jan 29 07:02:48 2007
+++ BackupPC_dump Mon May 14 17:34:50 2007
@@ -1012,9 +1012,10 @@
"Aborting backup up after signal $sigName\n");
#
- # Tell xfer to abort
+ # Tell xfer to abort, but only if we actually started one
#
- $xfer->abort($reason);
+ $xfer->abort($reason)
+ if defined $xfer;
#
# Send ALRMs to BackupPC_tarExtract if we are using it
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/