Author Topic: Backing up your catalog  (Read 2768 times)

0 Members and 1 Guest are viewing this topic.

inetbiz

  • eCommerce Strategy Consultant
  • Administrator
  • Full Member
  • *****
  • Offline Offline
  • Posts: 135
  • Karma: 22
  • SKYNET; T3; Apple Inc. Coincidence?
    • View Profile
    • Hosting for Creloaded Cart
Re: keeping data current durring cpanel migration
« Reply #8 on: July 14, 2009, 12:56:47 AM »
On the new server, go into WHM and add remote host allowed in the SQL section. Edit your firewall and allow that remote connection to 3306.

On the older hosting account, edit any web applcations database settings for mysql host to be the IP of the new main server, new mysql user and new mysql pass. The transfer will be a bit sluggish durring DNS propogation but it's a great headache saver.

inetbiz

  • eCommerce Strategy Consultant
  • Administrator
  • Full Member
  • *****
  • Offline Offline
  • Posts: 135
  • Karma: 22
  • SKYNET; T3; Apple Inc. Coincidence?
    • View Profile
    • Hosting for Creloaded Cart
Re: Backing up your catalog
« Reply #7 on: July 14, 2009, 12:53:51 AM »
The version should not matter.  The complete backup facilities should be the same across all currently supported versions.

cPanel and other hosting control panel systems generally offer automated methods of creating such backups as quicker alternatives to FTP retreival.

David

If backup service is not enabled on your old host, the CPanel migration with acount username and password will not work. In this situation, login to the old cpanel and create a full backup. Select SCP and give the root copy to /home(x) folder. Go to backup from cpbulk and give it the old user name. The newly uploaded file would be detected by the new CPanel server. Now, all the account settings, emails, DB's, files are transferred over. Double check PHP version requirements of the web apps to what you run. Update fantastico if needed on auto installs. Check security strength of mysql user pass and linux user account. It should meet PCI requirements on your new server.

Edit the zone file to 300 seconds on your new server and tell them to update the nameservers. It will take approximately 24 to 72 hours for full domain propogation.

David M. Graham

  • Administrator
  • Sr. Member
  • *****
  • Offline Offline
  • Posts: 380
  • Karma: 12
    • View Profile
    • osCommerce University
Re: Backing up your catalog
« Reply #6 on: March 17, 2009, 01:30:31 PM »
Actually, your contribution would be most welcome.  Comparing notes could be very helpful to everyone.

David

Liquid

  • Newbie
  • *
  • Offline Offline
  • Posts: 14
  • Karma: 2
    • View Profile
Re: Backing up your catalog
« Reply #5 on: March 16, 2009, 04:14:16 PM »
Thank you for clarifications David.

I was going to post a checklist of my running Cre Loaded website migration notes, as a punchlist of numbered items to this thread, since it's entitled "Backing up your catalog".

However I don't want to post information that is not entirely accurate, and I'll bet you already have a list somewhere.

David M. Graham

  • Administrator
  • Sr. Member
  • *****
  • Offline Offline
  • Posts: 380
  • Karma: 12
    • View Profile
    • osCommerce University
Re: Backing up your catalog
« Reply #4 on: March 16, 2009, 11:07:49 AM »
To get clarity, please correct me if this is not accurate:

Version: CRE Loaded6 v6.2 B2B White Label[13.2 (SP1)]
The version should not matter.  The complete backup facilities should be the same across all currently supported versions.


Quote
Backing up the database is done by Admin->Tools->Backup mySQL which is the same as Admin->Tools->Database Backup?


This is not the case.  Backup MySQL depends on access to the MySQL command line tools and to the PHP functions which allow processing a system command line.  Neither of these conditions is guaranteed to be met on any given server.  This is why there are two backup tools.  The Database Backup tool uses PHP to generate the backup.  This works across more servers, but is limited in the size of database backups it can manage by various Apache settings which, when set liberally enough to allow management of large databases, increases the risk of and vulnerability to denial of service (DoS) attacks against the site.

Quote
This has the Cre Loaded Admin user accounts and passwords in it. Upon restore, I would lose any new accounts or password changes done since the backup that I restored, along  with any new catalog items!

True.  This is why systems such as FDMS have their own partial backup systems, and why that approach will be extended to other systems during the course of EOS development. 

Quote
The website files and most modifications are not in the Database, they are in the file structure on the web accessible directory (usually /public_html/).
True.  cPanel and other hosting control panel systems generally offer automated methods of creating such backups as quicker alternatives to FTP retreival.

Quote
Where is the mySQL database typically kept in terms of files?

The MySQL server generally manages this, and the actual database files are rarely if ever owned by the site owners system user account.  This means you just don't get to back them up directly.  Instead you must rely on your authorized access to the database and tools such as your control panel, PhpMyAdmin, MySQL Administrator and so on.

David

Liquid

  • Newbie
  • *
  • Offline Offline
  • Posts: 14
  • Karma: 2
    • View Profile
Re: Backing up your catalog
« Reply #3 on: March 15, 2009, 05:33:37 PM »
To get clarity, please correct me if this is not accurate:

Version: CRE Loaded6 v6.2 B2B White Label[13.2 (SP1)]

Backing up the database is done by Admin->Tools->Backup mySQL which is the same as Admin->Tools->Database Backup?

This has the Cre Loaded Admin user accounts and passwords in it. Upon restore, I would lose any new accounts or password changes done since the backup that I restored, along  with any new catalog items!

The website files and most modifications are not in the Database, they are in the file structure on the web accessible directory (usually /public_html/).

Where is the mySQL database typically kept in terms of files?

David M. Graham

  • Administrator
  • Sr. Member
  • *****
  • Offline Offline
  • Posts: 380
  • Karma: 12
    • View Profile
    • osCommerce University
Re: Backing up your catalog
« Reply #2 on: June 12, 2008, 11:08:24 PM »
This is great for backing up the database.

For files - ask your host to zip the web directory, then download it - or just name a directory on your local drive something like "backup_06302008" then download the site contents to it, zip the directory then delete it.

MySQL Backup can not be used on all servers.  This has to do with the use of the MySQL command line tools instead of the PHP library.  Where it can be used it offers more efficient backup and restores of large databases.  As these databases belong on either a substantial VPS or dedicated server this should rarely be an issue for the average store in its first 2 years of business.

David

raven

  • Newbie
  • *
  • Offline Offline
  • Posts: 19
  • Karma: 8
    • View Profile
    • Raven and Crone
Backing up your catalog
« Reply #1 on: June 08, 2008, 11:42:05 PM »
Backup your catalog as much as you can. Go to your admin, then to tools and click on Backup mySQL. Then click on backup and it will bring you to the page that gives you options of what type of backup you want to do. There is : no compression, use gzip or use zip.  You would normally click on no compression. If your file is huge or you have a slow connection then you may want to choosethe gzip(for unix & most computers) or zip (for windows web servers). You can also click on download with out storing on server which will put the back up right onto your personal computer. The best and easiest is to use no compression.