MySQL 8.02 BACKUP
Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=20312
Printed Date: 11 April 2026 at 1:21pm Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com
Topic: MySQL 8.02 BACKUP
Posted By: agronoy
Subject: MySQL 8.02 BACKUP
Date 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
|
Replies:
Posted By: agronoy
Date Posted: 15 June 2006 at 3:01pm
Maybe I'm wrong and forum database backup is not so important issue.... ?
|
Posted By: WebWiz-Bruce
Date 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.
------------- https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting
|
Posted By: agronoy
Date 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?
|
Posted By: agronoy
Date Posted: 18 June 2006 at 1:52pm
Well.....yes thank you...we can use the export tool.
About the Check box:
[ http://db003.zabco.net/phpMyAdmin/Documentation.html#faqexport - 6.12 ] I want to understand some Export options.
Structure:
- "Add DROP TABLE" will add a line telling MySQL to
http://dev.mysql.com/doc/mysql/en/drop-table.html - 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
http://dev.mysql.com/doc/mysql/en/insert-delayed.html - MySQL manual .
- "Ignore inserts" treats errors as a warning instead. Again, more info
is provided in the http://dev.mysql.com/doc/mysql/en/insert.html - 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....
|
Posted By: WebWiz-Bruce
Date 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.
------------- https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting
|
|