Thread: database backup

Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Jun 2006
    Location
    My family and I live in Brighton, England
    Posts
    982
    Plugin Contributions
    0

    Default Re: database backup

    Quote Originally Posted by gsdcypher View Post
    a lot of the hacks say make sure to back up your database before installing this hack (in case something goes horribly wrong)....

    what is the best, fastest, easiest way to backup the "database" and what files do I specifically need to back up?
    ...And what about the BackUp MYSQL Plugin? It certainly is the most simple way to backup the database. Is it thorough? I have it installed and use it but have never needed to reload one of my backups.

  2. #2
    Join Date
    Feb 2007
    Posts
    819
    Plugin Contributions
    0

    Default Re: database backup

    thanks.

    ok. found the myphpadmin and i choose export database.

    on this screen it says:

    export: and sql is selected. i can also select others? but i should leave sql selected?

    sql options: do i need any or none?

    database options: do i need to check add drop database?

    structure: what should i check?

    data: what should i check? what should i set for max length?

    save file as: should it be compressed?

    just trying to do it right. thanks!

  3. #3
    Join Date
    Feb 2007
    Posts
    45
    Plugin Contributions
    0

    Default Re: database backup

    From the Tutorials Section:

    How can I do a database-backup with phpMyAdmin?


    The ideal settings to do a backup via phpMyAdmin are shown below.

    NOTE: BEFORE clicking on "Export", you should select your database from the dropdown, so that its tables are displayed. THEN click on the "Export" tab.

    - CHECKED: Structure
    - CHECKED: Add DROP TABLE
    - CHECKED: Add AUTO_INCREMENT value
    - CHECKED: Enclose table and fieldnames with backquotes
    - CHECKED: Data
    - CHECKED: Complete Inserts
    - CHECKED: Extended Inserts
    - CHECKED: Use hexadecimal for binary fields
    - Export Type: INSERT
    - CHECKED: Save as File
    - Filename Template: __DB__
    - Compression: "gzipped" (or whatever you prefer... gzip makes smaller files)



    TO RESTORE THE DATABASE:
    - open phpMyAdmin
    - select the database you wish to restore INTO, from the dropdown menu
    - click on the "SQL" tab (in newer phpMyAdmin versions, you might have to click the "Import" tab instead, to get the "Browse" button mentioned next:)
    - click on the Browse button, and select the file you downloaded when making the backup
    - click Go
    Not totally zenned yet but working on it.

    Vytle.com powered by Zen 1.3.6

  4. #4
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: database backup

    your best bet is to install the backup module that was described above,

    then always make sure to backup before adding any module,

    ( hack is usually a dirty word for websites ) lol

    once you have the backup module in place you can then do the DB backup from the ZC admin,

    as for downloading your files,
    yes it is always a good idea to make a complete backup on your desktop but this isnt something that you need to do often, since the files dont change on a daily basis
    Zen cart PCI compliant Hosting

  5. #5
    Join Date
    Feb 2007
    Posts
    819
    Plugin Contributions
    0

    Default Re: database backup

    thanks again.

    if i download the MOD ;-) then unzip it, i just ftp it to my cart folder and run it from admin? that sounds easy??? do i ftp in bin or ascii?

  6. #6
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: database backup

    just use auto
    Zen cart PCI compliant Hosting

  7. #7
    Join Date
    Feb 2007
    Posts
    819
    Plugin Contributions
    0

    Default Re: database backup

    sweet. it worked. it think... we'll see we i need to restore it. lol.

    thanks.

 

 

Similar Threads

  1. Database backup
    By placecraft in forum General Questions
    Replies: 1
    Last Post: 30 Oct 2009, 07:51 PM
  2. Backup MySQL Database vs using cPanel backup option?
    By IronMan101 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 30 Jul 2007, 08:46 AM
  3. Backup my database (database is Farsi and Arabic)
    By laserayaneh in forum General Questions
    Replies: 1
    Last Post: 12 Aug 2006, 08:03 AM

Posting Permissions

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