View Full Version : Backup Database

July 31st, 2009, 09:31 PM
Hi,i'm trying to backup database and i'm getting these warning

Warning: escapeshellcmd() has been disabled for security reasons in /home/xxxxx/public_html/photo_gallery/adm-misc.php on line 1991

Warning: filesize() [function.filesize]: stat failed for http:// file path/backups//.sql in /home/sunkhfg/public_html/photo_gallery/adm-misc.php on line 1995
Warning: .sql is 0 bytes or did not get created.

How do i enable the escapeshellcmd?
How do i create the .sql

I'm a really new at this and get really confused at time,any help would be welcome...

Thks in advance.....musc3!!!!

Chuck S
July 31st, 2009, 09:40 PM
You may need to contact your host about any disabled PHP functions

As far as the second thing in global options you need to place the proper server path to mysqldump on the server where asked and the backup path you must place full server path to a directory to store backups you have created that exists and you set permissions to 777 on that directory.

August 1st, 2009, 12:02 PM
Hi,thaks chuck,still havin problem to do it but i back it up thru my cpanel,it should be the same right?

Chuck S
August 1st, 2009, 03:34 PM
Yes doing it through cpanel is very good ;)