On Thu, Oct 17, 2013 at 1:30 PM, Phil Reynolds <phil-backu...@tinsleyviaduct.com> wrote: > 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?
Are you sure your shell script is receiving the date as multiple parameters? Or is it parsing and breaking on the space in your script or the command line being handed to tar? -- Les Mikesell lesmikes...@gmail.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@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/