BackupPC-users

Re: [BackupPC-users] Need to speed up tar method

2009-07-01 13:55:06
Subject: Re: [BackupPC-users] Need to speed up tar method
From: Craig Barratt <cbarratt AT users.sourceforge DOT net>
To: error403 <backuppc-forum AT backupcentral DOT com>
Date: Wed, 1 Jul 2009 10:49:50 -0700
error403 writes:

> incr backup started back to 2009-06-26 22:53:27 (backup #0); for directory 
> /var/lib/backuppc/sshfsuser/
> Xfer PIDs are now 30107,30106
> /bin/tar: Substituting 1901-12-13 15:45 for unknown date format `2009-06-26\\ 
> 22:53:27'

You didn't include your $Conf{TarClientCmd} setting, nor the actual
tar command being run from the top of the XferLOG file.

I suspect the problem is you are backing up localhost, but you didn't
remove the "+" from $Conf{TarIncrArgs}.  If that's the case, instead
of

    $Conf{TarIncrArgs} = '--newer=$incrDate+ $fileList+';

you should have

    $Conf{TarIncrArgs} = '--newer=$incrDate $fileList';

That "+" is causing the incremental time stamp to be shell escaped,
and you can see it is getting passed to tar with an extra '\'.  So tar
ignores it and defaults to 1901-12-13, which basically turns the
incremental into a full.

Craig

------------------------------------------------------------------------------
_______________________________________________
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/