SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
problem with extra parameter rsync_long_args
Author Message
Post problem with extra parameter rsync_long_args 
Hello

I want to use the extra parameter

backup root < at > somehost:/home somehost/ +rsync_long_args=--iconv=utf8,iso8859-1

but the configtest doesn´t accept this
I found the error is because of the comma in the parameter (between utf8 und
iso8859)
the rsnapshot-script splits the extra parameters at the comma character

I have tried to quote the arguments to prevent the splitting
backup root < at > somehost:/home somehost/ +rsync_long_args="--iconv=utf8,iso8859-1"
but this doesn´t work

My solution now is a change of the parse_backup_opts function in the rsnapshot -
script

< at > pairs = split(/;/, $opts_str);
# change comma to semicolon

Is there another way to solve this problem without changing the script.

p.s.
in the man page is this example
backup root < at > somehost:/ somehost +rsync_long_args=--exclude=/var/spool/
isn´t there a slash missing after the second somehost?

regards
Oliver

------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
_______________________________________________
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