
Originally Posted by
nedbanguilan
Good day. I would like to know if there is a way to copy the contents or the DB of sugarcrm from one computer and use it on another one.I want to do this so that I can continue my work at home during weekends where there is no office. I Already searched the net and couldn't find any. Please help. Thanks.
OS at Office - OS at Home
WIndows Server 2003 Windows Vista Ultimate
Sugar version and edition
Both Computers have Sugarcrm 5.2c Community Edition
Hi,
i'd prefer a dump/restore as a canonical way to deal with databases.
Here is how to backup MySQL on Linux:
Code:
mysqldump -u root -p --databases sugarcrm | bzip2 > /tmp/backup-mysql-sugarcrm.dump.bz2
And how to restore:
Code:
bzcat /tmp/backup-mysql-sugarcrm.dump.bz2 | mysql -u root -p
Of course it is safest to shutdown HTTPD before making the backup. And BTW, this is also a good method for backing up your MySQL data....
Cheers
Gyro
Bookmarks