warrenthewindmill Posted March 18, 2003 Share Posted March 18, 2003 I need to backup my test database and I get the following error in admin when I try and run the backup: Error: Backup directory does not exist. Please set this in configure.php. I wasn't sure what to set up in configure.php but searched these boards and found: define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'c:/phpdev/www/catalog/admin/backups/'); which made no difference (still got the above error) What simple thing am I missing? Why wasn't this set up as part of the install? Link to comment Share on other sites More sharing options...
Guest Posted March 18, 2003 Share Posted March 18, 2003 You need to create a directory called "backups" in admin/includes CHMOD the directory to 777 and all is well Link to comment Share on other sites More sharing options...
warrenthewindmill Posted March 19, 2003 Author Share Posted March 19, 2003 Yes, I should have realised that :oops: thanks. I successfully backed up, eventually, but not before: 1st attempt was backing up for 5 minutes and the 'gas bar' didn't seem to be getting any bigger so I cancelled. The crash that followed corrupted the database which I solved by repairing the banners.history table 2nd attempt, appeared to be backing up for about 1 minute and then crashed. repaired the same table and rebooted. 3rd attempt everything was ok, backup was created. Is this a common problem? Link to comment Share on other sites More sharing options...
Guest Posted March 19, 2003 Share Posted March 19, 2003 Your backups folder should be in your admin folder not admin/includes HTH The_Bear Link to comment Share on other sites More sharing options...
warrenthewindmill Posted March 19, 2003 Author Share Posted March 19, 2003 I realised admin/includes was the wrong place to put it. Should have mentioned that in my last post. I put it in admin. Any ideas why I might have had the problems I had. Can I expect ongoing problems with the stability of my database? Link to comment Share on other sites More sharing options...
carlp Posted March 20, 2003 Share Posted March 20, 2003 it could be depending on the size of your database. oscommerce effectly uses the mysqldump command which can take a few seconds, but not very long. Kindest Regards, Carl Pickering If there is light at the end of the tunnel, switch it off. I have to save on my electricity bill Link to comment Share on other sites More sharing options...
warrenthewindmill Posted March 20, 2003 Author Share Posted March 20, 2003 It is the test database. I haven't loaded any of my own products into it yet, so the size shouldn't be a problem Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.