I have the following settings in my configuration file: (/etc/rsnapshot.conf)
backup_script ssh firstname.lastname@example.org "sh /home/user/backup_mysql.sh" ./mysql
the example shows the following:
backup_script ssh email@example.com "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?