Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I backup?


lorra

Recommended Posts

Please read:

http://www.oscommerce.info/kb/osCommerce/A..._Tool/Tools/175

 

There are no buttons to back up all your files. You will need to use an FTP client to backup your files or Cpanel's backup system.

 

I went to the Database Backup page via the link you gave me. Apparently I have to do the following before I can see the Database Manager. (sigh)

 

Note: The backup directory needs to be created by the store owner and given the permissions of 777 to give the webserver write permission for that folder.

 

Does that mean I create a folder on my webserver for the backup files? Then I have to create a database for that folder? And give the permission 777 to that database?

 

Sorry, but it's not that simple for me. I really need step-by-step instructions. I would be very thankful for any help you can give me.

Link to comment
Share on other sites

Ensure that /catalog/admin/backups (or backup, I cant recall which, I have both...) exists. If you have shell access to your server chmod 777 backup/backups and you should have access to that area.

 

You can either download all the files for backup, or zip/tar them up on the server itself if you have shell access.

 

Thomas

A signature is something that reflects its user. - The dictionary

 

The question is not, 'to code, or not to code'

the question is, 'if we do not code, are we really alive?'

-- anonymous

Link to comment
Share on other sites

This is probably a stupid question, but where is the tool button in osCommerce that I can simply click to backup all my files and database?

How to backup in OSC before installing contributions:

 

I usually double up on this to be super idiot proof.

Before I install any contrib I backup my database (via osc backup) then ftp my whole site to my computer.

I keep all these bckups in dated folders so I could revert back to any previous version of the site if I wish

 

Then as I go through adding the contribution I save a renamed backup version of each file that is changed.

For instance if I was changing the index.php file I would first save the file as index_old.php so if I muck it up I can always delete the mucked up file and rename index_old.php to index.php and the file is back where it started.

 

Then I can take my time to figure out where my problem was.

 

If you did not backup your files you might need to install another version on osc on your server in a different folder and copy the files you need from the fresh install.

Backup before making changes. Backup before making changes! Backup before making changes!!

 

You did do a backup? eh?

Link to comment
Share on other sites

Ensure that /catalog/admin/backups (or backup, I cant recall which, I have both...) exists. If you have shell access to your server chmod 777 backup/backups and you should have access to that area.

 

You can either download all the files for backup, or zip/tar them up on the server itself if you have shell access.

 

Thomas

 

I don't have anything that says backups or backup anywhere. That's what I'm trying to create. Are you talking about a directory folder? Also, I am pretty sure I have shell access to my server. Not sure how to get the Database Manager to appear so I can backup my files and ftp to my computer. Could you please explain how you got "backup" into "admin"? Thanks.

Link to comment
Share on other sites

How to backup in OSC before installing contributions:

 

I usually double up on this to be super idiot proof.

Before I install any contrib I backup my database (via osc backup) then ftp my whole site to my computer.

I keep all these bckups in dated folders so I could revert back to any previous version of the site if I wish

 

Then as I go through adding the contribution I save a renamed backup version of each file that is changed.

For instance if I was changing the index.php file I would first save the file as index_old.php so if I muck it up I can always delete the mucked up file and rename index_old.php to index.php and the file is back where it started.

 

Then I can take my time to figure out where my problem was.

 

If you did not backup your files you might need to install another version on osc on your server in a different folder and copy the files you need from the fresh install.

 

Thanks, this is the kind of info I needed. I like the idea of using dated folders. And making a backup copy of each revised file is something I definitely will do from now on. After re-installing osCommerce at least five times already, I am going to idiot-proof my files to the max!

Link to comment
Share on other sites

I don't have anything that says backups or backup anywhere. That's what I'm trying to create. Are you talking about a directory folder? Also, I am pretty sure I have shell access to my server. Not sure how to get the Database Manager to appear so I can backup my files and ftp to my computer. Could you please explain how you got "backup" into "admin"? Thanks.

 

Oh, sorry, forget the question. I figured out what to do. I had to create a "backups" folder in HTTPSDOCS. As soon as I did that, made permission 777, and then the backup and restore buttons appeared.

 

What I should have looked closely at was the directory path that kept coming up. I didn't see that I had to create the folder in the httpsdocs directory, not the httpdocs.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...