Backup / Restore a database
It's very important to back up data...
make them periodically to avoid losing valuable information.
With the utility mysqldump you can export our data in MySQL.
For example, to back up the database "test" run the following command:
mysqldump -B --opt test -u root -p > backup_test.sql
in the file backup_test.sql there are all the information necessary to completely restore the database "test".
To restore the database that was backed up previously, simply run:
mysql -u root -p < backup_test.sql
- Login to post comments
The use of the information shown here is at your risk.
Cyber Methexis disclaims any liability for malfunction and/or loss of data.
Tag cloud
windows sicurezza apple tips and tricks networking linux internet software sistemi operativi scripting open source scripts hardware microsoft informatica downloads

