khoking Posted December 29, 2005 Share Posted December 29, 2005 I would like to backup my OsC, all the orders, customers...etc. all the contributions that I have installed, inclusing the SQL database. Can I just use a FTP to copy everything in /public_html? Is that the correct way to backup? If my server crashed, can I just upload all the files that I have in my /public_html and get everything back and running just like before? Best regards, Koh Kho King Link to comment Share on other sites More sharing options...
Nacer Posted December 29, 2005 Share Posted December 29, 2005 Use you cpanel "Backup" option. Regards, Nacer. Link to comment Share on other sites More sharing options...
khoking Posted December 29, 2005 Author Share Posted December 29, 2005 Use you cpanel "Backup" option. Regards, Nacer. Thanks, Nacer! :thumbsup: Best regards, Koh Kho King Link to comment Share on other sites More sharing options...
roughrider Posted December 29, 2005 Share Posted December 29, 2005 Where do I go to set permissions for the backup? In phpmyadmin? if so where and how & what to? Because all I keep getting is, Error: Backup directory is not writeable. Ride It Like You Stole It Link to comment Share on other sites More sharing options...
♥Chris Perkins Posted December 29, 2005 Share Posted December 29, 2005 You need to CHMOD (using your FTP client) the directory to 777 to make it writable. Link to comment Share on other sites More sharing options...
my3sons Posted December 29, 2005 Share Posted December 29, 2005 Using the OSC Admin Backup will backup your mysql database. You still need to backup your OSC install (directory structure, PHP code and mods you made to it). You could use FTP to back it up, but it would be quicker and handier to zip it or tar.gz it then download it. Your hosting control panel probably has this option. Or you probably can ssh into your server and use tar/gzip or zip to compress it into one big file. Link to comment Share on other sites More sharing options...
roughrider Posted December 29, 2005 Share Posted December 29, 2005 You need to CHMOD (using your FTP client) the directory to 777 to make it writable. I'm not sure about this even though I think I've done it before. I have a control panel provided by my server and it has "Change permissions for directory" but all it shows is the following with otions to select certain boxes. Read mode : Write mode : Execute/search mode : Owner Group Others Ride It Like You Stole It Link to comment Share on other sites More sharing options...
-Spazmatic- Posted December 29, 2005 Share Posted December 29, 2005 roughrider, 777 would be that every box was checked. Please look Here for an explanation. Link to comment Share on other sites More sharing options...
roughrider Posted December 29, 2005 Share Posted December 29, 2005 roughrider, 777 would be that every box was checked. Please look Here for an explanation. Ok thanks but now what php file do I edit to point to my new backup folder? Ride It Like You Stole It Link to comment Share on other sites More sharing options...
♥Chris Perkins Posted December 29, 2005 Share Posted December 29, 2005 If you go to admin/tools/backup it tells you that it needs configuring in configure.php Link to comment Share on other sites More sharing options...
roughrider Posted December 29, 2005 Share Posted December 29, 2005 If you go to admin/tools/backup it tells you that it needs configuring in configure.php I'VE DONE IT :D well happy thanks. Now, I got my database backed up on my pc & downloaded all my files so that my host can switch me to another server BUT, what else would I need to do, such as change any of my php files? Ride It Like You Stole It Link to comment Share on other sites More sharing options...
♥Chris Perkins Posted December 29, 2005 Share Posted December 29, 2005 It depends on where you're going to be put. If the server change just means that your website will be on another server but will have the same URL then I don't think you'll need to change anything in the php files. Link to comment Share on other sites More sharing options...
roughrider Posted December 29, 2005 Share Posted December 29, 2005 It depends on where you're going to be put. If the server change just means that your website will be on another server but will have the same URL then I don't think you'll need to change anything in the php files. Excellent, thanks :) Ride It Like You Stole It Link to comment Share on other sites More sharing options...
-Spazmatic- Posted December 29, 2005 Share Posted December 29, 2005 Just a question, what exactly do you configure in catalog/admin/includes/configure.php? Link to comment Share on other sites More sharing options...
MaBiSmAd Posted December 29, 2005 Share Posted December 29, 2005 Just a question, what exactly do you configure in catalog/admin/includes/configure.php? This line in configure.php needs to point to a folder that exists and has write permissions - define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.