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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

CWP Open Developer Discussion /

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

Moderators: camfindlay, Ed, Sigurd, swaiba

Replicant module released


Go to End


4 Posts   4179 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: https://github.com/GOVTNZ/replicant

Avatar
camfindlay

Forum Moderator, 267 Posts

28 February 2014 at 9:53am

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

Avatar
Willr

Forum Moderator, 5523 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, 267 Posts

8 April 2014 at 2:46pm

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