Jump to content

backup server under linux ubuntu 16.04


voxler

Recommended Posts

hi all

we just purchased a team licence for our little game dev studio and the main server is running without issues on linux ubuntu 16.04

i want it to replicate automatically on the backup server (another machine under linux ubuntu 16.04)

i already followed the install steps from : https://www.plasticscm.com/plastic-for-linux/ubuntu-16.html

for the backup server and created a "plasticscm" user on both sides... so what s next please ? :-)

Link to comment
Share on other sites

Hello!

Yes, the "cm" command and all its subcommands are part of the client package, get it installed, you'll need it.

It's indeed a windows based application, like the Plastic SCM server! :) Use the mono framework provided by the server to run it. "/opt/plasticscm5/mono/bin/mono replikate.exe" will do it.

 

 

Link to comment
Share on other sites

it worked !

after linux client installation : https://www.plasticscm.com/plastic-for-linux/ubuntu-16.html

i ran those commands :

./clconfigureclient
cm lrep SOURCE:8087
mkdir emptyWK
cm mkwk emptyWK ./emptyWK
/usr/sbin/plasticsd restart
cm makerepository localhost:8087 REPONAME
cm replicate br:/dev@rep:REPONAME@repserver:SOURCE:8087 rep:REPONAME@repserver:localhost:8087


and it replicated the main branch ! good !

now how can i make a nightly update of the backup repo ?

or how to activate a "trigger" to have a relatime update ?

Link to comment
Share on other sites

Hello!

3 hours ago, voxler said:

i meant "what command do i run to make an update"

You can choose from "cm replicate" or the "RepliKate" tool I mentioned before.

If it's going to be for a single branch I recommend you the "cm replicate", if it's going to be for the whole repository then "RepliKate" is really handy.

Link to comment
Share on other sites

i launched the same last ommand i launched 1 week ago :

cm replicate br:/dev@rep:REPONAME@repserver:SOURCE:8087 rep:REPONAME@repserver:localhost:8087

and the result was :

....

DataWritten
Items 63
Revs 204
ACLs 0
Changesets 28

....

i launched it immediatly after and got a :

DataWritten
Items 0
Revs 0
ACLs 0
Changesets 0


so GREAT ! it seems to be working good :-)

i ll put it on a nightly cron, thanks a lot MANU !

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...