View Full Version : Error msg...Backup
I am getting an error message when I go in osCommerce/ Admin/ Backups. "Error: Backup directory does not exist. Please set this in configure.php" How do I set this in configure.php?
I've tried searching the Powweb forum, but, I don't see anything. I also looked on osCommerce orum and didn't see anything that addresss my specific issue.
Thanx for all the help I have been getting.
you can create a directory called "backups" in the admin folder.
I created a directory call 'Backups' in the admin folder. I am still getting the message. I think it is asking for something to occur in the configure.php file and I dont know what I am supposed to do there.
in configure.php you set the name of the backup folder. Make sure that it matches the one you created.
Thanks for the response natural. I don't know what to do to "set the name of the back up folder" in configure.php. I need to be walked through the instructions. I notice there are two (2) configure.php files. One in 'Admin' and one in 'includes', do I need to set up in both?
I don't know where to put the instructions, I don't know what the sentence should look like.
Thanks in advance for your help.
tacimala
3-26-04, 09:11 PM
If I remember correctly, as long as you didn't change the backup option since the default install, you just need to add the catalog/admin/backups directory and you will be all set to go. This line is the last line before the database connection setup in the configure.php file.
define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
That's the default line of code from the catalog/admin/includes/configure.php file.
There should not be a configure.php in admin. The two files by that name should be in admin/includes and catalog/includes. The one under admin/includes defines settings for the admin panel, the one under catalog/includes defines setting for, you guessed it, the catalog.
Note that PowWeb does automatic nightly backups of your MySQL database, though I don't recommend relying on that. (not to say that it's unreliable, but it's not a guaranteed service.) I can't say I'm thrilled about the idea of a backup as a file in your site, though I suppose it's not all that bad. Note that there's an option to download the backup to your local system (do this under HTTPS only.)
This is the error message: Error: Backup directory does not exist. Please set this in configure.php.
This is the last line of the code: define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'
What am I missing?
vBulletin v3.6.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.