jamesmoo2090 Posted November 11, 2014 Report Share Posted November 11, 2014 I am doing some cleanup and need to delete some old and unused repos, I have SQLite as the backend so i have 5 active repositories, i deleted 4 repos from the server but the SQL files remain in the DB folder i have 9 SQLite Rep_xx files (where the xx are numbers) my question is, how do i know to which repository is each Rep_xx file corresponding to? any help is appreciated. thanks Link to comment Share on other sites More sharing options...
manu Posted November 11, 2014 Report Share Posted November 11, 2014 Hi James, look, the "cm lrep" command will give you the IDs of your repos, for example: C:\code>cm lrep 1 default localhost:8091 2 code localhost:8091 4 def-r localhost:8091 5 elastic localhost:8091 The 1,2,4 and 5 numbers are the IDs, so you will find the rep_1, rep_2, rep_4 and rep_5 databases matching the "default", "code", "def-r" and "elastic" repositories. The missing ones will be the repositories removed. Link to comment Share on other sites More sharing options...
jamesmoo2090 Posted November 11, 2014 Author Report Share Posted November 11, 2014 cool thanks Link to comment Share on other sites More sharing options...
manu Posted November 11, 2014 Report Share Posted November 11, 2014 You are welcome, of course it works also for the rest of backends, not only for sqlite. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.