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
