Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

CWP Open Developer Discussion /

Techincal discussion of SilverStripe use on the NZ Govt Common Web Platform.

Moderators: camfindlay, Sigurd

Replicant module released


Reply


4 Posts   701 Views

Avatar
James Goodman

Community Member, 1 Post

24 February 2014 at 10:02am

Edited: 08/04/2014 2:47pm

The team working on the Govt.nz beta have just released a module to help transfer databases between environments.
Once installed and configured replicant will allow you to select an environment to fetch a database from and restore it to a different environment.

Installation is as simple as running the following from your site directory:

composer require govtnz/replicant dev-master

The GitHub repository can be found here: [url]https://github.com/GOVTNZ/replicant[/url]

Avatar
camfindlay

Forum Moderator, 171 Posts

28 February 2014 at 9:53am

excellent work, good to see govtnz participating in open source contributions.

Avatar
Willr

Forum Moderator, 5513 Posts

1 March 2014 at 11:40am

Edited: 01/03/2014 11:40am

Great to see contributions coming out! Though always been sceptical at CMS direct access to the full database in terms of security.

Related to that, if you want to translate information across environments https://github.com/silverstripe/sspak can be useful. More secure, handles assets as well.

Avatar
camfindlay

Forum Moderator, 171 Posts

8 April 2014 at 2:46pm

You would need to ensure you have shell access in oder to use sspak too of course :)