BackupPC-users

Re: [BackupPC-users] incremental tar xfer errors

2009-01-07 18:44:36
Subject: Re: [BackupPC-users] incremental tar xfer errors
From: "Jeffrey J. Kosowsky" <backuppc AT kosowsky DOT org>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Wed, 07 Jan 2009 18:42:07 -0500
Simone Marzona wrote at about 22:38:42 +0100 on Wednesday, January 7, 2009:
 > Hi
 > 
 > I got a strange problem doing incrementals with tar over ssh using
 > --newer=$incrDate+. It seems an "escape problem" of part of the time
 > reference for the incremental. The date part of --newer is parsed
 > correctly but the hour part of --newer.. doesn't and is changed in
 > 00:00:00 and tar interprets 11:34:33 as a filename that doesn't exist.
 > 
 > extract from logfile
 > 
 > Running: /usr/bin/ssh -c blowfish -C -q -x -n -l backup $host $tarPath
 > -c -v -v -f - -C /root --totals --newer=2009-01-07 11:34:33 .
 > 

Well the problem (obviously) is that there is whitespace between the
date and time. Maybe try putting quotations around $incrDate+

 > incr backup started back to 2009-01-07 11:34:33 (backup #0) for
 > directory /root
 > Xfer PIDs are now 25928,25927
 > /bin/tar: Treating date `2009-01-07' as 2009-01-07 00:00:00 + 0
 > nanoseconds
 > /bin/tar: 11\:34\:33: Cannot stat: No such file or directory
 > 
 > The problem disappears if I use mtime and not incrDate+ (or rsync) in
 > the incremental options of tar.
 > 
 > What I'm wrong?
 > 
 > Thanks in advance.
 > 
 > 
 > ------------------------------------------------------------------------------
 > Check out the new SourceForge.net Marketplace.
 > It is the best place to buy or sell services for
 > just about anything Open Source.
 > http://p.sf.net/sfu/Xq1LFB
 > _______________________________________________
 > 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/
 > 

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
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>