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 
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'.

Internal or external doesn't matter, its the options which are wrong in
my case.

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.

I'll already did that and rsync does work fine for the copy process.
However, rsync does only hardlink if source and destination have the
same attributes - that is not possible, as my source tree got different
attributes than my destination (which got other owner + group and other
permissions) - so it won't never hardlink here - but via cp this will be
possible because linking is not done with these rsync restrictions than.


------------------------------------------------------------------------------
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