lbhaven Posted March 15, 2007 Posted March 15, 2007 I want to do a backup of my site. When I go to the backup manager it shows this error along the top of the page. Error: Backup directory does not exist. Please set this in configure.php. How do I set this up? Thanks in advance
vasttech Posted March 16, 2007 Posted March 16, 2007 Create a directory under the admin directory and set the permissions to 777. Also note that the backup only backs up the database and not the files. To back those up use an FTP program to copy them to your hard drive at home. For further details on the backup feature search the forums for "backup". osCommerce Knowledge Base osCommerce Documentation Contributions
djmonkey1 Posted March 16, 2007 Posted March 16, 2007 I want to do a backup of my site. When I go to the backup manager it shows this error along the top of the page. Error: Backup directory does not exist. Please set this in configure.php. How do I set this up? Thanks in advance The backup tool is for your database, not your website. In the file admin/includes/configure.php you will find the line define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); The directory admin/backups/ has to exist in order for this line to be valid. Note that the directory does not have to be called "backups", you can call it "zuul" if you want, but the folder has to exist and the configure file has to correctly identify it. Also, you have to set permissions so that your admin tool can write to it. Do, or do not. There is no try. Order Editor 5.0.6 "Ultra Violet" is now available! For support or to post comments, suggestions, etc, please visit the Order Editor support thread.
lbhaven Posted March 16, 2007 Author Posted March 16, 2007 Ok, I made the folder. How do I set permissions? I've never used an ftp program, what's the process to update all the files on the oscommerce system, image files etc.? Thanks for the help.
lbhaven Posted March 16, 2007 Author Posted March 16, 2007 I did the database backup. So doing this backs up all the entries of products I've uploaded. Does this also save all the contributions and coding changes I've made?
Ausgirl Posted March 16, 2007 Posted March 16, 2007 I did the database backup. Does this also save all the contributions and coding changes I've made? Yep, all your mods will return if you need to restore. You still need to do as stated above and make a copy of your website and store it on your pc or on disc. It will also helps if when modifying, you copy and paste your files into word pad as you go. Have Fun
vasttech Posted March 16, 2007 Posted March 16, 2007 No when you backup via the admin section it only backs up the database (i.e. products, customers, orders, etc...). To backup any and all code changes and contributions you have added make sure you backup the files using an FTP to save them to your local hard drive. osCommerce Knowledge Base osCommerce Documentation Contributions
djmonkey1 Posted March 16, 2007 Posted March 16, 2007 I did the database backup. So doing this backs up all the entries of products I've uploaded. It backs up every single table, column, row, field, etc, that is in the database, all in a single file that is stored on your website. Does this also save all the contributions and coding changes I've made? No. It saves all the information in the database in a folder on your website. You also now need to backup your website. Usually this is accomplished by saving all one's website folders, including the database backup directory, on your pc at home. As for permissions, you need to be able to do a CHMOD on the folder. This can be done with certain FTP programs and also via some webhost's control panels. Do, or do not. There is no try. Order Editor 5.0.6 "Ultra Violet" is now available! For support or to post comments, suggestions, etc, please visit the Order Editor support thread.
lbhaven Posted March 26, 2007 Author Posted March 26, 2007 I've never used an FTP program before. How set everything up to backup the rest of my files? Will this include my product pictures?
vasttech Posted March 27, 2007 Posted March 27, 2007 Every FTP program is slightly different, but you will enter your address (typically ftp.yourdomainname.com), your username and password for the server, and that is it. It works similar to file manager in Windows. You may need to get with your web host company to get the settings for your server. They should also be able to walk you through configuring a FTP program. Once there just copy the entire directory and file structure from your website over to your hard drive somewhere (create a folder called backup on your local computer and store it there). osCommerce Knowledge Base osCommerce Documentation Contributions
Recommended Posts
Archived
This topic is now archived and is closed to further replies.