BackupPC-users

[BackupPC-users] Parameter for incremental backups on localhost using tarCreate.sh script

2013-10-17 14:32:25
Subject: [BackupPC-users] Parameter for incremental backups on localhost using tarCreate.sh script
From: Phil Reynolds <phil-backuppc AT tinsleyviaduct DOT com>
To: backuppc-users AT lists.sf DOT net
Date: Thu, 17 Oct 2013 19:30:38 +0100
I am having problems backing up the localhost using a tarCreate.sh
script - I can do full backups, but the date and time seems impossible
to present properly for incrementals.

$Conf{TarIncrArgs} = '--newer=$incrDate $fileList+' as recommended by
the documentation fails to escape the space between the date and time.
Leaving it at the default as for a remote host ($Conf{TarIncrArgs} =
'--newer=$incrDate+ $fileList+') is also no good, as the unnecessary
escaping makes the parameter so that tar fails to understand it.

The net result in both cases is a failed backup, because tar tries to
stat something derived from the time, as if it was a filename.

How can I get round this problem?

-- 
Phil Reynolds
mail: phil-backuppc AT tinsleyviaduct DOT com
Web: http://phil.tinsleyviaduct.com/


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
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/