Changing the repository ID

I am using the Community Edition version 2 and wondering if there is a way to change the repository ID without losing content, either from UI or manually editing the repository config and its related database record!

or is it possible to move the content from one repository to another with has the new ID?