Tutorial:DB Backup

From The Scripters Wiki

Jump to: navigation, search


Contents

Page Is Unavailable Due To Site Maintenance, Please Visit Reserve Copy Page


CLICK HERE


This page is for a tutorial for backing up your database.

Logging In

First, browse to <code><nowiki>http://www.{yourdomain.com}/cpanel</nowiki></code> and you'll see a login dialog like this:

Db 1.png

Or this:

Db 8.png

(Note: These are only samples of what you'll get.)


Next, log in with the user name and password that your host gave you (in the case that you're being hosted by us, it's the one we sent you). And you that will get you into cPanel.


phpMyAdmin

Scroll down to "Databases" and click on phpMyAdmin (as pictured below):

Db 2.png


Selecting the Database

After phpMyAdmin loads, select your database, in most cases you'll want to select {username}_phpbb, _wdp01, etc. As you can see in this picture, it shows a list:

Db 3.png


And here, I selected "thescrip_wiki" to backup the Wiki application (pages, posts, etc).

Exporting

When the database information shows up, click on "Export" along the top:

Db 4.png


If not all the tables are selected, click "Select All" to highlight everything in the list.

Db 5.png


The default option is usually "SQL" -- if it is leave it, if not change it to "SQL" and uncheck "Extended Inserts" under the "Data" section:

Db 6.png


Lastly, if it's a large database (like phpBB or WordPress that's been running for at least a few months), then go ahead and select "gzipped" -- otherwise, it's okay to leave on "None." Then just click on "Go" on the bottom right.

Db 7.png


This will bring up a "Save Download" window where you can download the backup to your computer for storage.


Congratulations!

You have now successfully backed up your database and your information is now safe.

To see how to restore a database, see Tutorial:DB Restore.

Personal tools