CrossRiverGames Posted January 17, 2015 Report Share Posted January 17, 2015 I use PlasticSCM for all of my source control and recently purchased a NAS drive to store my PlasticSCM database and the files it controls. How would I go about moving the database and files from my local Mac to the NAS drive? Thanks! Link to comment Share on other sites More sharing options...
calbzam Posted January 19, 2015 Report Share Posted January 19, 2015 Hi, You can edit the "db.conf" file to select a custom database location path: eg: <DbConfig> <ProviderName>mysql</ProviderName> <ConnectionString>Server=localhost;User ID=root;Password=mypwd;Database={0};Connection Timeout=1200;Pooling=true</ConnectionString> <DatabasePath></DatabasePath> <DatabasePrefix>SamplePrefix</DatabasePrefix> </DbConfig> Regards, Carlos Link to comment Share on other sites More sharing options...
CrossRiverGames Posted January 21, 2015 Author Report Share Posted January 21, 2015 Thanks! Does this fix just move the database files or does it also move the actual files being controlled? Link to comment Share on other sites More sharing options...
calbzam Posted January 21, 2015 Report Share Posted January 21, 2015 Hi, This option just move the database files. The controlled files, (I guess that you mean the workspace path) will not change. The workspace will be pointing to the same repository altough actually the repo is stored in a different location. Regards, Carlos. Link to comment Share on other sites More sharing options...
CrossRiverGames Posted January 21, 2015 Author Report Share Posted January 21, 2015 I do mean the workspace path; I'd like to move that to the NAS drive as well as the database itself. I just wasn't remembering the proper terminology. Link to comment Share on other sites More sharing options...
calbzam Posted January 21, 2015 Report Share Posted January 21, 2015 Ok, In that case, you can create a new workspace in the new path and delete the old one. But emember that the workspaces are client side configurations and each developer will use a different workspace. In your server, you just need to configure the place where you want to store the databases (repositories). Regards, Carlos. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.