I’ve noticed that the new Backup & Restore module (from Schmooze) does no checking of the connection status (or return codes ?) when an ftp server is being used.
As a consequence a scheduled backup can be running and reporting successful completion when no ftp connection has been established and no files transferred.
I’m not sure if this is beyond the scope of the module, but it would be nice if it could report the ftp connection/file transfer failure.
/*
FTP Sucessfull Backup’s to FTPSERVER
leaves $ftpbackup which gets overwritten next time but can be checked to see if there were errors.
IMPORTANT - if testing as root, delete files since backup runs as asterisk and will fail here since
root leave the file around and asterisk can’t overwrite it.
Note - the hardcoded full backup that cron does will overwrite each day at destination.
*/
So I am guessing this is a log you can review programaticly or manually