Re: [BackupPC-users] tar on localhost (and shell escaping)
2010-11-16 17:57:15
On Sun, Nov 14, 2010 at 09:00:10AM -0500, Jeffrey J. Kosowsky wrote:
> If you are on the same machine, you can do directly without ssh
> by using sudo (and you can protect a little more by setting up sodoers
> properly). Then there is no compression for the local machine...
>
> $Conf{RsyncClientCmd} = '/usr/bin/sudo $rsyncPath $argList+';
Sorry for replying out of order but I lost the original post by Frank.
Here is what I use to stop the date being interpreted. If someone could
fix the wiki that would be great:
$Conf{TarClientCmd} = '/usr/bin/env LC_ALL=C /usr/bin/sudo /root/tarCreate -v
-f - -C $shareName --totals';
$Conf{TarIncrArgs} = '--newer=$incrDate $fileList+';
Where /root/tarCreate is (different to the wiki):
#!/bin/sh -f
exec /bin/tar -c "$@"
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
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/
|
|
|