I have a number of sites on a shared server that I need to back up locally, so to avoid the need to log in to cPanel and back up manually, I wrote a program, Site Backup CP, that issues the backup commands with authentication automatically, so you can just click one button to backup whatever you want, or run the job from a scheduler. I thought that others would find it useful, so I released it as a shareware product.
I have received a couple of reports from people who have tried the program who have said that the MySQL backups are incomplete, or not downloaded at all. The other backups are fine. I have determined, as far as I can, that they have entered the database name correctly, and that the MySQL backup works when done manually from cPanel.
As some of you may know, a backup is initiated simply by issuing an HTTP GET for a URL like: http://domain:2082/getsqlbackup/database.gz with authentication . There is not much scope for getting it wrong. I don't need to lnow anything about the database itself as I don't talk to MySQL directly. cPanel handles all of that.
Has anyone any suggestions as to why backups may fail when run from a program instead of a web browser? Since this only affects some people, is there some cPanel configuration option that could cause this problem?
I have received a couple of reports from people who have tried the program who have said that the MySQL backups are incomplete, or not downloaded at all. The other backups are fine. I have determined, as far as I can, that they have entered the database name correctly, and that the MySQL backup works when done manually from cPanel.
As some of you may know, a backup is initiated simply by issuing an HTTP GET for a URL like: http://domain:2082/getsqlbackup/database.gz with authentication . There is not much scope for getting it wrong. I don't need to lnow anything about the database itself as I don't talk to MySQL directly. cPanel handles all of that.
Has anyone any suggestions as to why backups may fail when run from a program instead of a web browser? Since this only affects some people, is there some cPanel configuration option that could cause this problem?