Results 1 to 7 of 7

Thread: Cloning Sugar

  1. #1
    Deland01 is offline Sugar Community Member
    Join Date
    Sep 2006
    Posts
    66

    Default Cloning Sugar

    Does anyone have the link which covers cloning sugar with MyPHP admin onto a seperate server?

    I've looked high & low on Sugar Wiki but can't find it?

    Or can anyone give me some pointers how to do this?
    Sugar Version - 4.5.0h
    Sugar Edition - SugarSuite
    OS - Win 2003 Server Std
    PHP Version - 5.2.0
    Database - MySQL Server 5
    Web Server - Apache 2.0.59

  2. #2
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Cloning Sugar

    Is your ultimate goal to copy the data from server 1 to server 2 on an ongoing basis or ad-hoc copy?

    In the case of the latter, you could just copy the folder containing your database on server 1 over to server 2. Assuming both servers are running the same version of MySQL, it should be fairly transparent.

    If your intention is to merge server 1's database into server 2's database, you'd need to use a more elaborate process. like replication:

    http://dev.mysql.com/doc/refman/5.0/en/replication.html
    Regards,

    Angel Magaña
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  3. #3
    Deland01 is offline Sugar Community Member
    Join Date
    Sep 2006
    Posts
    66

    Default Re: Cloning Sugar

    All I need a clone for is to use as a testing server. I've been using the live server at the moment & when things so wrong it just adds un-necessary stress to my job.



    Using your production server isn’t a very good idea I know but I haven’t had the time to set a clone up yet.







    The main problem I’ve had setting the clone up is I didn’t set the original installation up & the person who did is no longer around. I installed Apache, then PHP & MySQL then launched the setup wizard from http://localhost on the clone server. It said that it couldn’t find any MySQL databases.



    I have MySQL Administrator installed but how do I actually create a sugar database & link it into sugar?





    Sugar Version - 4.5.0h
    Sugar Edition - SugarSuite
    OS - Win 2003 Server Std
    PHP Version - 5.2.0
    Database - MySQL Server 5
    Web Server - Apache 2.0.59

  4. #4
    paikmoses's Avatar
    paikmoses is offline Sugar Community Member
    Join Date
    Jan 2006
    Posts
    541

    Default Re: Cloning Sugar

    Create one database in the and then start with a new install of Sugar. While installation give the name of the new database.

    Try this out.

    Regards,

  5. #5
    kpit's Avatar
    kpit is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Dec 2005
    Location
    Memphis, TN
    Posts
    996

    Default Re: Cloning Sugar

    There are more issues involved than just database replication. This is a very complex configuration SugarCRM does not store everything in the database. There are files and metadata that needs to be kept in sync as well. You will need to have a common file share that both have access. Not to mention the session cache if you want seamless use between both installations if you are looking at load balancing automatically.

    The biggest being cache directory structure. The files and attachments for documents and emails are stored in cache/uploads. The entire cache directory needs to be shared and writable by both servers.

    The other major problem you will have is upgrades.. when you upgrade you must upgrade both systems at the same time or use a shared file system for the entire SugarCRM files. There are ways to not use shared file systems but there is a distinct possibility of being out of sync for a time until the servers catch up. This is especially true if the servers are far apart due to bandwidth and network delays.

    This configuration is very, very advance and you should use an experienced systems administrator that has advanced knowledge of all systems and applications involved.
    Cheers,

    Max W. Blackmer, Jr.

    Blog
    Phone: +1 (901) 672-2694



  6. #6
    Deland01 is offline Sugar Community Member
    Join Date
    Sep 2006
    Posts
    66

    Default Re: Cloning Sugar

    Kpit,

    I take your point on board but I've seen quite a few articles now which suggest that its a pretty easy thing to do.

    Like this one:

    http://www.sugarcrm.com/wiki/index.p...sting_purposes

    Is this something you would advise against?
    Sugar Version - 4.5.0h
    Sugar Edition - SugarSuite
    OS - Win 2003 Server Std
    PHP Version - 5.2.0
    Database - MySQL Server 5
    Web Server - Apache 2.0.59

  7. #7
    tbivans's Avatar
    tbivans is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Ayden, NC
    Posts
    224

    Default Re: Cloning Sugar

    Deland01,

    I think it depends on what exactly you need the cloned instance to do. If you need the data on it to always be up-to-date, then kpit is correct, it would be more difficult. But if you really just need an instance that has the functionality of your current prodduction instance and enough data to test with, then it isn't that difficult, and the link that you mentioned should work for you well.

    Hope that helps.

    tbivans

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Big Security worries with Sugar!
    By mycrmspacegunnar in forum General Discussion
    Replies: 28
    Last Post: 2007-07-29, 05:27 AM
  2. Cloning Sugar - to run from same server
    By Deland02 in forum Help
    Replies: 5
    Last Post: 2007-03-16, 09:35 AM

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
  •