Fall Sale! Code FALL2024 takes 25% OFF our Pro Plugins & Books »
Web Dev + WordPress + Security
Blackhole Pro
Blackhole Pro: Trap bad bots in a virtual black hole.

Back up that Database with phpMyAdmin

Optimal Database Export Options Backing up your database as often as possible is essential. For WordPress, as well as for other applications, plugins and other scripts that help automate the task are easily obtainable. However, for several reasons, it is a good idea to understand the process of manually creating a backup copy of your database. This quick tutorial should help cement the process into a solid reference. We are assuming that you have an SQL database and have access via phpMyAdmin.

Visual steps

Before reading through the written steps, check out the screenshot (image opens in new tab or window):

Quick steps

  1. Open phpMyAdmin, select database, click on “Export”
  2. Within the “Export” screen, click on “Select All” and select “SQL”
  3. Then check “Structure”, “Add DROP TABLE”, “Add AUTO_INCREMENT..”, and “Enclose table..”
  4. Also check “Data”, “Complete inserts”, and “Use hexadecimal..”
  5. Check “Save as file”, select a compression format, and “Go”!

Verbose steps

First, open phpMyAdmin and select from the dropdown menu the database you wish to backup. If there is only one database available, select it by clicking on its name. Now, along the upper-right row of tabs, click on the “export” tab. From that screen, under the subcategory “Export”, click on “select all” and make sure that the “SQL” option is selected.

Then, under the SQL Options/Structure category, make sure “Structure”, “Add DROP TABLE”, “Add AUTO_INCREMENT value”, and “Enclose table and field names with backquotes” are checked.

Next, under the “SQL Options/Data” category, make sure “Data”, “Complete inserts”, and “Use hexadecimal for binary fields” are checked. The “Export type” should be set to “INSERT”.

Finally, check “Save as file” and do not change the “File name template”. It is advisable to save both a compressed copy and a zipped copy. Click “Save” and you are done.

About the Author
Jeff Starr = Creative thinker. Passionate about free and open Web.
USP Pro: Unlimited front-end forms for user-submitted posts and more.
Welcome
Perishable Press is operated by Jeff Starr, a professional web developer and book author with two decades of experience. Here you will find posts about web development, WordPress, security, and more »
Digging Into WordPress: Take your WordPress skills to the next level.
Thoughts
Went out walking today and soaked up some sunshine. It felt good.
I have an original box/packaging for 2010 iMac if anyone wants it free let me know.
Always ask AI to cite its sources.
All free plugins updated and ready for WP 6.6 dropping next week. Pro plugin updates in the works also complete :)
99% of video thumbnail/previews are pure cringe. Goofy faces = Clickbait.
RIP ICQ
Crazy that we’re almost halfway thru 2024.
Newsletter
Get news, updates, deals & tips via email.
Email kept private. Easy unsubscribe anytime.