How can we take a backup of a mysql table and how can we
restore it. ?
Answer Posted / david
With dbForge Studio you can perform full database backup or restoring only selected database objects.
Database menu or from the shortcut menu of the database node of the Database Explorer window -> Backup Database -> Database Backup Wizard.
1. Select a database to back up, backup script file name and location, click the Next button.
2. Select Structure and Data, check Include all objects, click the Next button.
3. Set the backup options, click the Backup button.
4. Choose whether to open the backup script file in SQL Editor and wether to save the backup project for future use, and click the Finish button.
Backing Up Certain Database Objects
1. Choose a database to backup, script file name and location, click the Next button.
2. Select required information to backup.
3. Select database objects to backup their structure if you have chosen Structure or Data to backup on the Backup Content page, click the Next button.
4. Select tables to backup their data if you have chosen Data or Structure to backup on the Backup Content page, click the Next button.
5. Set backup options, click the Backup button.
6. Choose whether to open the backup script file in SQL Editor and wether to save the backup project for future use, and click the Finish button.
Restoring Database from Backup Script
To call Database Restore Wizard and restore the database from the backup script:
1. Select Restore Database... from the Database menu or from the shortcut menu of a database node of the Database Explorer window.
2. Select backup script file to restore and target database. If backup script file contains CREATE DATABASE statement, backup data will be restored to the created database instead of the selected database.
3. Check that the encoding for the restored file is selected correctly. The program automatically selects it basing on the restored file, if it fails, the default encoding (the current Windows encoding on the machine where dbForge Studio is running) is selected. You can always select a required encoding from the drop-down list.
4. Click the Restore button.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is config file in php?
How to move uploaded files to permanent directory?
How can we change the value of a constant?
What does sign mean php?
What is the difference between php and java?
What are different types of Print Functions available in PHP?
What is meant by PEAR in PHP?
When to use inquire vs enquire?
Explain Type hinting in PHP?
What distinguishes php from something like client side java script?
Explain the difference between mysql_connect and mysql_pconnect?
Tell me what is the default session time in php?
What is smarty?
How is php different from other languages?
What is api example?