Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Aug 2008
    Location
    Sydney Australia
    Posts
    651
    Plugin Contributions
    0

    Default Database backup and Restore

    Hi All,

    Running version 1.58a on a linux server running PHP Version: 8.1.31

    Template Bootstrap Version 3.7.4

    CKEditor version 5

    Image Handler version 5

    I have updated nearly all files on my developement site and have one question related to the database.

    Can I backup the live database and then do a restore to the development database site. They are on the same Server and same sofware runing.

    Would I have any issues doing this and would anyone have steps (simple ones please)

    Once again any assistance would be appreciated.

  2. #2
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,762
    Plugin Contributions
    30

    Default Re: Database backup and Restore

    I use this all the time for the same purpose:

    https://github.com/torvista/Zen_Cart...p_MYSQL_Plugin
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  3. #3
    Join Date
    Aug 2008
    Location
    Sydney Australia
    Posts
    651
    Plugin Contributions
    0

    Default Re: Database backup and Restore

    Quote Originally Posted by torvista View Post
    I use this all the time for the same purpose:

    https://github.com/torvista/Zen_Cart...p_MYSQL_Plugin
    That does not work on the godaddy server sorry

  4. #4
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,194
    Plugin Contributions
    63

    Default Re: Database backup and Restore

    Quote Originally Posted by Bruce1952 View Post
    That does not work on the godaddy server sorry
    Use phpMyAdmin https://docs.phpmyadmin.net/en/lates...rt_export.html
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  5. #5
    Join Date
    Aug 2008
    Location
    Sydney Australia
    Posts
    651
    Plugin Contributions
    0

    Default Re: Database backup and Restore

    Quote Originally Posted by mprough View Post
    Thanks for that but what I need to know is the following please.

    1. I have downloaded the database file which is from the live site no issue and example name MSQL_Live

    2. I have two databases Live and Dev and I am wanting to update the DEV database from the Live database.

    3. Question regarding the file name.

    Do I need to change the database file name from the Live database(downloaded one) before I do a restore into the DEV database.

    Just want clear instructions before I attempt to play with the database.

    PHP admin allows to restore from file to the database.

  6. #6
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,762
    Plugin Contributions
    30

    Default Re: Database backup and Restore

    >Do I need to change the database file name from the Live database(downloaded one) before I do a restore into the DEV database.

    No.
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  7. #7
    Join Date
    Aug 2008
    Location
    Sydney Australia
    Posts
    651
    Plugin Contributions
    0

    Default Re: Database backup and Restore

    Thank you Torvista for the advice.

    So I just restore the live file into the dev site database via PHPadmin and hopefully don't stuff up the restore process.

    One other thing will it change passwords or only restore data.

    Just want to be safe but then again it is only the dev database.

  8. #8
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,463
    Plugin Contributions
    11

    Default Re: Database backup and Restore

    Think about it like a two-car garage with your car on the left and a truck on the right. If you decide to swap places with them, you won’t change the opener (DB name) used for the left side, but you will surely have to make sure you have the matching key (admin credentials) for the vehicle now on the left.

  9. #9
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,845
    Plugin Contributions
    11

    Default Re: Database backup and Restore

    Quote Originally Posted by Bruce1952 View Post
    Thank you Torvista for the advice.

    So I just restore the live file into the dev site database via PHPadmin and hopefully don't stuff up the restore process.

    One other thing will it change passwords or only restore data.

    Just want to be safe but then again it is only the dev database.
    admin passwords and user passwords are stored in the database. so if you restore your live backup into your dev database, the admin passwords in the dev system will now be the same as your live system.
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  10. #10
    Join Date
    Aug 2008
    Location
    Sydney Australia
    Posts
    651
    Plugin Contributions
    0

    Default Re: Database backup and Restore

    Hi Carlwhat,

    Thank you for confirming what will happen once I update the dev site database.

    It is greatly appreciated.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Backup database restore on a new site
    By Soul39 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 5
    Last Post: 22 Apr 2011, 05:52 PM
  2. Can't restore my database backup
    By jasonhoward64 in forum General Questions
    Replies: 4
    Last Post: 18 Mar 2011, 05:28 AM
  3. How to backup and restore the database ?
    By greenlight in forum General Questions
    Replies: 3
    Last Post: 16 Sep 2008, 09:03 AM
  4. Database backup mySQL can't restore
    By tvadpro in forum All Other Contributions/Addons
    Replies: 21
    Last Post: 29 Apr 2007, 12:34 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR