Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - MySQL 8.02 BACKUP
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

MySQL 8.02 BACKUP

 Post Reply Post Reply
Author
agronoy View Drop Down
Newbie
Newbie
Avatar

Joined: 23 February 2006
Status: Offline
Points: 35
Post Options Post Options   Thanks (0) Thanks(0)   Quote agronoy Quote  Post ReplyReply Direct Link To This Post Topic: MySQL 8.02 BACKUP
    Posted: 14 June 2006 at 2:34pm
Hi.
What is the best  simple way to backup Mysql database (MySQL client version: 5.0.19) from the hosting server to my computer using phpMyAdmin 2.8.0.1 on the web.
Please don't save deails...
Thank you
Back to Top
agronoy View Drop Down
Newbie
Newbie
Avatar

Joined: 23 February 2006
Status: Offline
Points: 35
Post Options Post Options   Thanks (0) Thanks(0)   Quote agronoy Quote  Post ReplyReply Direct Link To This Post Posted: 15 June 2006 at 3:01pm
Maybe I'm wrong and forum database backup is not so important issue....
?

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 15 June 2006 at 3:34pm
I would recommend backing up the database.

However, when it comes to mySQL I tend to stop the service and copy across the mySQL 'data' file from the server. However, in a shared hosting environment this is not an option.

There are tools like SQLyog, which I believe has a mySQL database copy or move tool built into it that could be used to backup a mySQL database.
Back to Top
agronoy View Drop Down
Newbie
Newbie
Avatar

Joined: 23 February 2006
Status: Offline
Points: 35
Post Options Post Options   Thanks (0) Thanks(0)   Quote agronoy Quote  Post ReplyReply Direct Link To This Post Posted: 15 June 2006 at 4:03pm
Thank you Borg.
I thought I can use the export/import tool on  phpMyAdmin but there are so many Check box in the export form that confuse me.
Is it OK to use the export tool? how to configure it?
Back to Top
agronoy View Drop Down
Newbie
Newbie
Avatar

Joined: 23 February 2006
Status: Offline
Points: 35
Post Options Post Options   Thanks (0) Thanks(0)   Quote agronoy Quote  Post ReplyReply Direct Link To This Post Posted: 18 June 2006 at 1:52pm
Well.....yes thank you...we can use the export tool.

About the Check box:

[6.12] I want to understand some Export options.

Structure:

  • "Add DROP TABLE" will add a line telling MySQL to drop the table, if it already exists during the import. It does NOT drop the table after your export, it only affects the import file.
  • "If Not Exists" will only create the table if it doesn't exist. Otherwise, you may get an error if the table name exists but has a different structure.
  • "Add AUTO_INCREMENT value" ensures that AUTO_INCREMENT value (if any) will be included in backup.
  • "Enclose table and field names with backquotes" ensures that field and table names formed with special characters are protected.
  • "Add into comments" includes column comments, relations, and MIME types set in the pmadb in the dump as SQL comments (/* xxx */).

Data:

  • "Complete inserts" adds the column names on every INSERT command, for better documentation (but resulting file is bigger).
  • "Extended inserts" provides a shorter dump file by using only once the INSERT verb and the table name.
  • "Delayed inserts" are best explained in the MySQL manual.
  • "Ignore inserts" treats errors as a warning instead. Again, more info is provided in the MySQL manual, but basically with this selected, invalid values are adjusted and inserted rather than causing the entire statement to fail.
Nice talking to my self....Wink

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 19 June 2006 at 10:13am
The best way to do this is try different methods and see which ones work.

The drop table is good for backups that overwrite existing data, as if an old table exsists it will be deleted and new table made in it's place.

Not sure how the Add AUTO_INCREMENT value thing works in the software you are using, but you need to ensure that the same values are used in the AUTO_INCREMENT ID fields, so try both ways and check the results against the original database to make sure ID fields are the same, this way you will find which one works.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.