Backup Script - Could Not Open Input File
- by Iestyn
this is the backup script that I've got going:
http://pastebin.com/4g4E6wUz
This is the cron info:
/usr/local/bin/php /home/backups/backup-db.php --filename-dated ALL
No matter what I do, I keep on getting this error:
Could not open input file: /home/backups/backup-db.php - That's the correct location of the file.
I just don't know what else to try, I feel I've been working on this for so long now that I've explored every avenue, on the other hand sometimes I think that the time I've spent on it is clouding my thoughts and I'm missing something stupidly obvious.
Just wondering if someone can give me a few pointers?
Also on a last note, does anyone know of a way/article to auto generate a full backup of cPanel every * amount of days and store it in a location that I want?
Kind Regards.