NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
michelefaccini
Dec 28, 2013Aspirant
Rsnapshot installed...nothing is happening...
Hi all, I've just installed this addon and commented out the following line in the addons-config/rsnapshot/rsnapshot.conf file : backup /etc/ localhost/ which should backup my etc folder to the ...
fastfwd
Dec 29, 2013Virtuoso
michelefaccini wrote: Executing : rsnapshot -t hourly I get this :
rsnapshot encountered an error ! The program was invoked with these options:
/usr/local/bin/rsnapshot -t hourly
ERROR: /user/local/etc/rsnapshot.conf on line 72:
ERROR: cmd_rsnapshot_diff /usr/local/bin/rsnapshot-diff
Well, of course rsnapshot is not working: That error is preventing it from running.
Edit the /user/local/etc/rsnapshot.conf file and make sure that there is only a tab character -- no spaces! -- on that line between "cmd_rsnapshot_diff" and "/usr/local/bin/rsnapshot-diff". If you find spaces, replace them with a single tab character and then execute "rsnapshot -t hourly" again or "rsnapshot configtest".
Also, when posting text copied from the shell, it is often best to enclose the copied text between [code] and [/code] tags; that will make it easier to see whitespace properly and will ensure that the forum's formatting rules don't change the text you're copying. For example, here is a section of my rsnapshot.conf pasted without tags:
backup /c/addons-config/ localhost/
backup /c/home/ localhost/
backup /bin/ localhost/
backup /etc/ localhost/
backup /frontview/ localhost/
backup /lib/ localhost/
and here is the same section pasted between [code] and [/code] tags:
backup /c/addons-config/ localhost/
backup /c/home/ localhost/
backup /bin/ localhost/
backup /etc/ localhost/
backup /frontview/ localhost/
backup /lib/ localhost/
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!