Results 1 to 5 of 5

Thread: How to copy the DB of sugarcrm from one computer and use it on another one?

  1. #1
    nedbanguilan is offline Member
    Join Date
    Oct 2009
    Posts
    13

    Default How to copy the DB of sugarcrm from one computer and use it on another one?

    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

  2. #2
    salesagility's Avatar
    salesagility is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    UK
    Posts
    2,379

    Default Re: How to copy the DB of sugarcrm from one computer and use it on another one?

    Simplest way is to do a dump of the database and to restore it ... it's not very elegant

    Alternatively, if you're using mysql (don't know the mssql capabilities), you could sync the database while you are connected ...

  3. #3
    leowolff is offline Sugar Community Member
    Join Date
    Apr 2009
    Posts
    126

    Default Re: How to copy the DB of sugarcrm from one computer and use it on another one?

    Even more simple is to copy the folders and replace them at your house.

    To copy the database:
    \mysql\data
    To copy the whole Sugar:
    \htdocs\sugarcrm

    Only one thing, to make this work both installations must have the same password.

    I use this metod to load the info on my local machine for tests.
    Regards,

    SugarCRM CE v.5.2.0c
    Windows platform
    MySQL v.5.0.37
    phpMyAdmin - 2.11.2.2
    Apache Server v.2.0

  4. #4
    nedbanguilan is offline Member
    Join Date
    Oct 2009
    Posts
    13

    Smile Re: How to copy the DB of sugarcrm from one computer and use it on another one?

    OK thanks for the tips and guides, will try this out immediately.

  5. #5
    Gyro.Gearless is offline Senior Member
    Join Date
    Apr 2009
    Posts
    47

    Default Re: How to copy the DB of sugarcrm from one computer and use it on another one?

    Quote Originally Posted by nedbanguilan View Post
    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. SugarCRM CE for Computer Repair Business?
    By CantCookToast in forum General Discussion
    Replies: 1
    Last Post: 2009-05-07, 09:17 AM
  2. Replies: 1
    Last Post: 2009-04-14, 10:09 PM
  3. Replies: 2
    Last Post: 2009-02-06, 06:25 AM
  4. SugarCRM copy to new machine
    By gezo in forum Help
    Replies: 7
    Last Post: 2006-01-13, 03:08 PM
  5. run sugarcrm on single computer?
    By sunshinevibes in forum General Discussion
    Replies: 1
    Last Post: 2005-11-12, 10:58 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •