My rsnapshot behaves very strange for me and I don't know the why and the solution neither.
I have made an rsnapshot config file for a remote servers backup. In it, there is a bash_script command which tells rsnapshot, to run this srcipt while backing up. Now comes the tricky part:
If I run the command:
Code: Select all
/usr/bin/rsnapshot -c /backup/configs/charm.conf daily
I've added it to my crontab like:
Code: Select all
08 11 * * * /usr/bin/rsnapshot -c /backup/configs/charm.conf daily
Code: Select all
....
[03/Jul/2015:11:08:30] /usr/bin/rsnapshot -c /backup/configs/charm.conf daily: ERROR: backup_script /backup/scripts/charm.sh returned 255
...
[03/Jul/2015:11:08:30] /usr/bin/rsnapshot -c /backup/configs/charm.conf daily: ERROR: /usr/bin/rsync returned 255 while processing XY@SERVER.hu:/home/XY/sqldump/
...