This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

How to restore database from a backup?
#1

I noticed there is a tool to create database backups (very useful, thanks for that!)

However, I couldn't find a way to restore the database from this backup.

What is the best way to do this?
Reply
#2

Hi,

The best way is to open phpMyAdmin, go to Import, upload the file, and click Go.

Have you completed the interview?
Reply
#3

(Make sure to select the database on the left-hand side first. On the Import page, it should then say something like "Importing into the database commentics".)

Have you completed the interview?
Reply
#4

(01-Apr-2013, 05:31 PM)Steven Wrote:  (Make sure to select the database on the left-hand side first. On the Import page, it should then say something like "Importing into the database commentics".)

Hi,

Thanks Steven. Do I need to do anything to clear current data first? I remember I tried to restore a backup of a database this way once, and I got a bunch of error messages that the table already exists, etc.
Reply
#5

No, the backup file contains the commands to drop the tables if they already exist.

Have you completed the interview?
Reply
#6

(01-Apr-2013, 08:49 PM)Steven Wrote:  No, the backup file contains the commands to drop the tables if they already exist.

Brilliant, you are a hero among men!
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by vsantini
05-May-2012, 11:58 PM
Last Post by Norbs
14-Jun-2011, 05:21 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)