Results 1 to 9 of 9
  1. #1
    Join Date
    Nov 2004
    Posts
    80
    Plugin Contributions
    0

    Default Backing up database

    Out of all the following settings, what are the optimal options to choose when backing up the database in phpmyadmin?

    SQL options
    Add custom comment into header (\n splits lines):
    Enclose export in a transaction
    Disable foreign key checks

    Database export options:
    Add DROP DATABASE

    Structure:
    Add DROP TABLE
    Add IF NOT EXISTS
    Add AUTO_INCREMENT value
    Enclose table and field names with backquotes
    Add into comments
    Creation/Update/Check dates
    SQL export compatibility:

    Data:
    Complete inserts
    Extended inserts
    Use delayed inserts
    Use ignore inserts
    Use hexadecimal for binary fields
    Export type:

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Backing up database

    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Nov 2004
    Posts
    80
    Plugin Contributions
    0

    Default Re: Backing up database

    Thank you.

    And here it is:
    TO BACKUP THE DATABASE

    These are the ideal settings to do a backup via phpMyAdmin:

    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)

    [edit]
    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

  4. #4
    Join Date
    Jul 2006
    Posts
    123
    Plugin Contributions
    0

    Default Re: Backing up database

    I must be thick or something... I have version 1.3.0.1 and I have never done a back up and I cannot find the phpadmin to do the back up in... I am in Admin and I have looked in all menus and cannot find anything that mentions back up. One thread said there was a button called 'backup' on the main screen... well not on my screen ??

    How do you do a back up ??

    Ta
    Dave

  5. #5
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Backing up database

    phpMyAdmin is typically supplied by your hosting company ... you can usually access it from the same screen as where you create/manage databases
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Jul 2006
    Posts
    123
    Plugin Contributions
    0

    Default Re: Backing up database

    Hosting compnay ???
    Is it a file on the server ??
    What folder is it in ??

    Wouldnt it be easy if there was a button called 'Backup' in the Admin section...maybe under 'Tools' .. like that is where I would look...

  7. #7
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,511
    Plugin Contributions
    126

    Default Re: Backing up database

    Are you just running ZenCart on your own pc? If you're hosting it yourself, you can always download phpmyadmin yourself, and run it on your own machine. Downloadit from

    http://www.phpmyadmin.net/home_page/index.php

    Ultimately you will upload all your files to someone else's server - and this someone else will be your hosting company.

    Good luck,
    Scott
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  8. #8
    Join Date
    Jul 2006
    Posts
    123
    Plugin Contributions
    0

    Default Re: Backing up database

    Well... its on the net at www.timeoutmassage.com.au/zen ... I can log into the server and upload files ect onto the server... is this what you mean ??

  9. #9
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,511
    Plugin Contributions
    126

    Default Re: Backing up database

    Yes. Ask if these guys have phpmyadmin. They will be able to tell you
    how to get to it.

    Good luck,
    Scott
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 

Similar Threads

  1. v139h Backing Up Database
    By traytray in forum General Questions
    Replies: 5
    Last Post: 1 Jul 2012, 11:36 PM
  2. Backing up the database using phpMYADMIN
    By Sevenhelmets in forum General Questions
    Replies: 4
    Last Post: 2 Feb 2010, 03:28 PM
  3. Backing up database?
    By Billyboy in forum General Questions
    Replies: 1
    Last Post: 6 Aug 2009, 03:10 PM
  4. Backing up database - which boxes to check?
    By fabricsandthreads in forum General Questions
    Replies: 3
    Last Post: 6 Jun 2007, 08:32 AM
  5. Backing Up Database
    By RanTinRave in forum General Questions
    Replies: 1
    Last Post: 5 Jan 2007, 04:14 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