This is a writeup of our internal process for troubleshooting rdiff-backup/backupninja errors. Please note that it's a work in progress!
I often have trouble when creating my own scripts to be run by
cron on Linux servers. On most of the servers that I administer, I use a homegrown backup script (based on these excellent instructions) that I place in /etc/cron.daily.