Change the server, how to keep uuid unchanged

We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules
Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
Post Reply
kxhuang080
Fresh Boarder
Fresh Boarder
Posts: 12
Joined: Thu Jul 13, 2017 1:05 am

Change the server, how to keep uuid unchanged

Post by kxhuang080 » Wed Aug 09, 2017 8:24 am

Hi,

I want to change server (Maybe replace the OS and hard disk)and will reinstall OpenKM,but how to keep the uuid unchange ?
Of course, I had do a test. as below:
At first I use OpenKM Admin panel export database .Then import database ( select Restore UUIDs ) to other testing server . At last I failed, the uuid was changed.

jllort
Moderator
Moderator
Posts: 10868
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Change the server, how to keep uuid unchanged

Post by jllort » Sat Aug 12, 2017 8:07 am

Did you exported with metadata and history checked ? You should do it.
Why you are not doing a full backup and then restore database and files into the new server ? if you are not doing database change between server should be the best option.

Some information about backup and restore process https://docs.openkm.com/kcenter/view/ok ... rsync.html
Some information about replication https://docs.openkm.com/kcenter/view/ok ... ation.html ( might have some interest for you )

If you are in windows, then must do something similar but with windows tools ( copy folders between servers, dump database and restore in the new server ).

Post Reply