Results 1 to 10 of 10

Backing up my store?

This is a discussion on Backing up my store? within the osCommerce 2.2 Discussion forums, part of the osCommerce 2.2 Forums category; Hey everyone, I have decided to do some addons and updates to my site but i am worried i might ...

      
  1. #1
    New Member
    Join Date
    Sep 2007
    Posts
    25
    Rep Power
    0


    Default Backing up my store?

    Hey everyone, I have decided to do some addons and updates to my site but i am worried i might loose everything by messing up something. I was just wondering how do i backup my products and my current store information such as products, emails, customer information, etc etc? I go to back up in the admin panel but all i see is the computer telling me my back up directory is admin/backup.php but that is just bunch of writing what do i do? OH also on the top it says set in configure.php?

    THanks

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,500
    Rep Power
    567


    Default Re: Backing up my store?

    First, don't do any work on your LIVE site.

    Make a copy of your site and database and run it as a complete separate instance. Do your edits on the copy site so if you do mess up, it does not affect your sales! When it all works on the copy, then and only then should you copy the changes into the live site.

    Now, onto making a backup. Sounds like your backup directory is not writable or is non-existant. I don't recommend using the built in backup feature anyway. Here is what I recommend:

    1. Use phpmyadmin (usually included in your hosting control panel) to do a mysqldump of the database structure and data. It will create an .sql file that is your database backup.

    2. If you have ssh access to your account, ssh to the catalog directory and either make a zip or tarball of all the contents. Then FTP download that to your local computer and unzip or untar it to a safe place (keep the zip file too). Now you have a local copy of all your files.

    3. If you don't have ssh, just ftp download all the current files to your computer.

    Now you are fully backed up.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    New Member
    Join Date
    Sep 2007
    Posts
    25
    Rep Power
    0


    Default Re: Backing up my store?

    Hi thank you for the response. Iam looking at my PHP my admin right now and i have no idea how to do a MYSQL dump or anything do i export?

  4. #4
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,500
    Rep Power
    567


    Default Re: Backing up my store?

    Export. There is online documentation for phpmyadmin... google it.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  5. #5
    New Member
    Join Date
    Sep 2007
    Posts
    25
    Rep Power
    0


    Default Re: Backing up my store?

    thank you ill give that a try

  6. #6
    Active Member MindTwist's Avatar
    Join Date
    Jun 2007
    Location
    Barcelona, Spain
    Posts
    408
    Rep Power
    7


    Default Re: Backing up my store?

    If your OSCMAX installation is already working, you can also do a DB backup from your admin section, under tools / DB backup.

    I usually do it from there, where you can choose if you want to download it, or just store it on /admin/backups

  7. #7
    osCMax Development Team met00's Avatar
    Join Date
    Oct 2005
    Location
    wherever I happen to be at the moment
    Posts
    854
    Blog Entries
    2
    Rep Power
    21


    Default Re: Backing up my store?

    if you are going to be working with an oscMAX store for any period of time and you want to make mods, learn how to use phpmyadmin. Backups are easy (export data and tables to a file) and better than that, you can learn to read HOW the tables are connected and the data works.
    so endith the lesson
    <think>sometimes I just sit's and thinks</think>
    "Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB

  8. #8
    Active Member MindTwist's Avatar
    Join Date
    Jun 2007
    Location
    Barcelona, Spain
    Posts
    408
    Rep Power
    7


    Default Re: Backing up my store?

    Agreed, phpmyadmin is a MUST.

  9. #9
    New Member
    Join Date
    Apr 2008
    Posts
    23
    Rep Power
    0


    Default Re: Backing up my store?

    I would like to confirm soemthing.

    If I download my entire catalog via ftp, and download my database via phpmyadmin, i have everything i need to put my site backup if my hosting provider was to explode (or i make a critial error to my site)?

  10. #10
    Active Member MindTwist's Avatar
    Join Date
    Jun 2007
    Location
    Barcelona, Spain
    Posts
    408
    Rep Power
    7


    Default Re: Backing up my store?

    Yeah Phixon, you have everything and would be ready for your server to blow up.

    Your catalog will hardly change once you have everything in place (or, you will know when you change something at least), it is good to find yourself a way to have a daily copy of your database emailed to you or backed up somehow.

Similar Threads

  1. store name in 2 different languages
    By yulises in forum osCmax v2 Customization/Mods
    Replies: 0
    Last Post: 01-17-2008, 11:26 PM
  2. How to Setup a Test Store using your Web Store Code
    By mnpolock in forum osCMax v1.7 Installation
    Replies: 1
    Last Post: 05-24-2005, 06:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •