I have the following settings in my configuration file: (/etc/rsnapshot.conf)
backup_script ssh email@example.com "sh /home/user/backup_mysql.sh" ./mysql
the example shows the following:
backup_script ssh firstname.lastname@example.org "mysqldump -A > /var/db/dump/mysql.sql" unused2
The error I get:
ERROR: backup_script /usr/bin/ssh returned 255
What am I doing wrong?