Jump to content

database in Program Files? Bad practice


martinthurn

Recommended Posts

On Windows, using the embedded database, I found that the .sdf files are stored under C:/Program Files/PlasticSCM5/server

That is VERY BAD PRACTICE.  You should NOT store any dynamic data under Program Files.  How am I supposed to make an (automatic) backup of that?  

Your installer should ask the user where they want the data to be stored.  

Link to comment
Share on other sites

Hello Martin,

 

You can always modify the database path by changing the <DatabasePath></DatabasePath> value inside the db.conf file (@C:/Program Files/PlasticSCM5/server)

 

https://plasticscm.com/documentation/administration/plastic-scm-version-control-administrator-guide.shtml

 

 

What you can do is the following, stop the server, create a directory wherever you want, move all the sdf files to your new directory, set that directory as the DatabasePath and restart Plastic.

 

If you don't have access to Program Files I can understand that is a bad practice, I have full access to my computer to it's not a problem for me, I'm using MariaDB for my Plastic SCM server and it has "C:\Program Files\MariaDB 10.0\data" as the default database path.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...