Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.

How to Migrate from TestRail Cloud to Server and preserve Test Case IDs


Hi Guys

We are trying to migrate from TestRail Cloud to Server, and as our automation uses the Case IDs, we need to migrate them as well. I have tried all possible options, but cannot figure out how to migrate the test cases so that the IDs are not changed.

Is there a way to do that?

Thank you


There is no way thru the UI - there might be from a db but that would probably take instructions and scripts from Gurock support. I could imagine somethings will need to be disabled at the DB level to prevent IDs from automatically be created.


Hi Daniela,

Thanks for the post! For migrating from TestRail Cloud to Server, you can use the export database tool in your Cloud account under Administration > Subscription. This will generate a full backup of your existing database including all projects, test cases, and runs and will preserve the IDs of all entities. You can then restore the database backup for whichever OS your local server is running in order to create an exact clone of your existing TestRail instance. For more details on the restore process, you can check out our guide here:

If you have any further questions or would like direct assistance, you can reach out to the support team at