SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
how to provide arguments to copy (cp) command - the default
Author Message
Post how to provide arguments to copy (cp) command - the default 
On Fri, Jun 03, 2011 at 01:20:34PM +0200, Torsten Krah wrote:
Am Donnerstag, den 02.06.2011, 13:17 +0100 schrieb David Cantrell:
No. But if you don't specify cmd_cp at all, then rsnapshot will Do
The Right Thing itself, just do it a little slower.
Hm - got a problem.
link-dest does not work (its because the permission are different from
source and dest and rsync does not link in this case - where cp -l would
do) Sad.

So don't use link_dest. If you don't use that *and* you don't have
cmd_cp, then rsnapshot will do its own internal version of 'cp -al'.

without the "-a", owner, group and permission must not be preserved as
they are not supported on the destination side (which i have to use).

You can use rsync_short_args and rsync_long_args to fiddle with the
arguments passed to rsync. The default is to use -a, which is a
shortcut for -r -l -p -t -g -o -D, so you'll have to change that to not
try to preserve owner, group, or mode, and experiment to see whether
this preserves your hard links or not.

--
David Cantrell | Official London Perl Mongers Bad Influence

I don't do .INI, .BAT, or .SYS files. I don't assign apps to files.
I don't configure peripherals or networks before using them. I have
a computer to do all that. I have a Macintosh, not a hobby.
-- Fritz Anderson

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today.
http://p.sf.net/sfu/quest-dev2dev2
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB