Backup & Restore
Backup & Restore
database?
From SugarCRM Wiki
Step 2: Verify your backupfilename.sql file is readonly. This will help protect your
backup in case of error.
Step 3: Prepare for restoration by shutting down your webserver, then start up mysql
client.
%mysql -u USERNAME -p
mysql> quit
NOTE: Pay close attention to your redirection! If you accidently use >, and your
backupfilename.sql file is set for R/W, you'll loose your backup in a flash. (One reason
why the backupfilename.sql is flagged R/O for all users.)
mysql -u USERNAME -p
Enter password at the prompt.
Database changed.
After this point, your SugarCRM database has been restored. Restart your webserver, and
login to your SugarCRM system. Verify that your data is back.
phpMyAdmin Method
Step 2: Select the SugarCRM database from the pull down list on the left.
Step 3: Write down the name of your SugarCRM database. Drop the database by
selecting your SugarCRM database, clicking on the RED Drop tab.
Click "Ok"