You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all,
I would like to stress a discrepancy between the command output by rsnapshot -t and the real rsync command executed when a backup dir contain spaces. Let say I have a directory called "fileserver test".
On 1.3.1 I would put a similar line to rsnapshot.conf: backup "root@localhost:/opt/fileserver\ test/" fileserver/
The output from rsnapshot -t daily would be:
If I again grab the rsync command and I execute it, it obviously does not work in shell, due to missing quotes.
I completely understand and really appreciate the change to use a params array (rather than a shell) to launch rsync from rsnapshot (too much thing can go wrong with shell quoting), however right now rsnapshot -t output is confusing, as you need to re-quote it correctly to launch it from shell.
I also think that the change in backup directive format (no direct quoting needed) should be clearly stressed in the docs, as a direct update from 1.3.1 to 1.4.2 can result a not-working configuration (which is trivial to correct, by the way).
Thanks.
The text was updated successfully, but these errors were encountered:
Hi all,
I would like to stress a discrepancy between the command output by
rsnapshot -t
and the realrsync
command executed when a backup dir contain spaces. Let say I have a directory called "fileserver test".On 1.3.1 I would put a similar line to
rsnapshot.conf
:backup "root@localhost:/opt/fileserver\ test/" fileserver/
The output from
rsnapshot -t daily
would be:If I grab the rsync command and I execute it, it works without problem.
On 1.4.2, my
rsnapshot.conf
line look like this:backup root@localhost:/opt/fileserver\ test fileserver/
The output from
rsnapshot -t daily
would be:If I again grab the rsync command and I execute it, it obviously does not work in shell, due to missing quotes.
I completely understand and really appreciate the change to use a params array (rather than a shell) to launch
rsync
fromrsnapshot
(too much thing can go wrong with shell quoting), however right nowrsnapshot -t
output is confusing, as you need to re-quote it correctly to launch it from shell.I also think that the change in
backup
directive format (no direct quoting needed) should be clearly stressed in the docs, as a direct update from 1.3.1 to 1.4.2 can result a not-working configuration (which is trivial to correct, by the way).Thanks.
The text was updated successfully, but these errors were encountered: