Jump to:

23361 Posts in 18124 Topics by 2862 members

General Questions

SilverStripe Forums » General Questions » Staging and Production Server Synchronization

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1450 Views
  • inkubux
    Avatar
    Community Member
    11 Posts

    Staging and Production Server Synchronization Link to this post

    I have a client who is interested in having a staging server pushing the data to the production server.

    I did some research on the silverstripe api and found some interesting things but don't really know where to start to acehive this.

    1st I found documentation about the following class :synchronise/Synchronised.php at http://api.silverstripe.com/default/Synchronised.html

    This looks like what I want to achieve but the php page is not into silverstripe 2.3.3, only in 2.3.1. But I wouldn't know where to start with it.

    I also fount the static-publisher class but i'm not sure of what it does really. It seems to only synchronize cache files. what If I have dynamic data onto the production server ?

    All this seems not clear to me, any guidance would be really appreciated.

    Thanks a lot

  • Taffy
    Avatar
    Community Member
    119 Posts

    Re: Staging and Production Server Synchronization Link to this post

    Hi inkubux, welcome to the community.

    I asked a similar question a while ago but I did not follow it up. http://silverstripe.org/customising-the-cms/show/250920?start=0#post252993

    Would be good to hear if someone has done this with SS.

  • lawless
    Avatar
    Community Member
    33 Posts

    Re: Staging and Production Server Synchronization Link to this post

    Are you trying to replicate the Silverstripe files as well as the database info or only the Database info?

    The reason I ask is that MySQL can handle the database replication on it's own:

    http://dev.mysql.com/doc/refman/5.0/en/replication-howto.html

    If you're on a *nix system, you could look at rsync:

    http://www.samba.org/rsync/features.html

    I'm looking at the MySQL solution because in my case I set up the clients site where they can't modify the core files and all changes are handled through the CMS. So I really only need to synch the databases and alternately any Assets files they added.

    1450 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.