Backing up and restoring mysql database in Centos 5.5

To backup and restore mysql database in Centos 5.5.

 Backup: To backup a database use the following syntax
                #mysqldump -u databaseusername -p databasename > backupfilename.out

Restore: To restore the database backup file to new database:
               #mysql -u databaseusername -p newdatabasename < backupfilename.out

Hope this is very much helpful.

Comments

Popular posts from this blog

ACTION_FAILED:OU_INVALID: Solution for GoogleApps bulk user upload issue, username@domainname.com:ACTION_FAILED:OU_INVALID. This error is because you have not specified the Org Unit Path properly.

Moodle OAuth 2. This account is pending email confirmation! Solved

Enable SIP2 in Koha. How to configure SIP server in Koha 18.11??