-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Examples from the config file cannot be parsed #1
Comments
Hi @rkandilarov the first argument includes the command (with all arguments). the second one defines the importance (how errors of the command should be handled by rsnapshot. i have to update the docs, because of the new config parser the "old" command strings with best regards, Andi from the original docs:
|
Thank you for the clarification! Regards! |
Hi!
I've tested rsnapshot-ng on Ubuntu 16.04
Then uncomment in /etc/rsnapshot.conf the following line:
and running
rsnapshot configtest
I receive:It seems that rsnapshot-ng expect the command to be only the first parameter after backup_exec so wrapping all argument inside quotation marks like:
seems to do the trick. The second argument to the backup_exec command seems to be either empty (or string optional) or the string required as per line 1144. But, I'm not a python guy and cannot understand howto escape the quotations in case I need them inside the command itself - backslash " does not work.
Is this expected behaviour?
Perhaps all examples need to be changed if I got right the idea behind backup_exec.
Kind regards!
The text was updated successfully, but these errors were encountered: