Paco1863 Posted February 13, 2012 Report Share Posted February 13, 2012 I have a Plastic server setup on one machine with everything working nicely. Now I want to clone the server and it's repositories and workspaces on my laptop then use sync to keep the 2 systems insyncc. What is the best way to clone the server? Thanks Bob Link to comment Share on other sites More sharing options...
cidico Posted February 13, 2012 Report Share Posted February 13, 2012 Hi Bob! Well, about the repositories, what I do (not the perfect way to do it, and I don't recommend) is just copy and paste the database file to my other machine. About the workspaces, I GUESS that it can't be done, since the workspace is associated with a repository (that normally is at local server). If your laptop have access to your network, just use the sync view to keep synced... This is the safer way to do it. Manually creating the workspace is your solution. Link to comment Share on other sites More sharing options...
Paco1863 Posted February 13, 2012 Author Report Share Posted February 13, 2012 Thanks cidico, Would I just reconstruct workspaces on the laptop without any files, just the directory structures. Then replicate the repositories from the original server? Would this put the files on the laptop with the development history? Bob Link to comment Share on other sites More sharing options...
cidico Posted February 13, 2012 Report Share Posted February 13, 2012 Yes. You just need to pay attention to choose the right folder in your workspace creation. When you replicate your repositories, Plastic will bring everything that is in the original server. I have done this a lot of times. Just create the empty repository and do the replication. Everything will be there! Link to comment Share on other sites More sharing options...
Paco1863 Posted February 13, 2012 Author Report Share Posted February 13, 2012 Thanks cidico, Works like a charm. The Sync func works great as well! Bob Link to comment Share on other sites More sharing options...
manu Posted February 21, 2012 Report Share Posted February 21, 2012 Thanks cidico for pointing the right way! For development purposes I recommend use ALWAYS replication. For backup purposes you can copy the databases Link to comment Share on other sites More sharing options...
cidico Posted February 22, 2012 Report Share Posted February 22, 2012 Well, As I told Paco1863, I don't recommend the copy of repository. I just do it because I have the problem with special chars and the fast-export / fast-import still not working for me. :/ And right now, creating replication package for each branch is not valid to me. So I copy the database and at home I just replace the repo file. Link to comment Share on other sites More sharing options...
manu Posted February 22, 2012 Report Share Posted February 22, 2012 Yes Yes!! in your case I totally understand you.... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.