Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.12.3 available

The official documentation can be found on https://wiki.ocsinventory-ng.org. Read it before asking your question.

Merge two different OCS server databases

Hi

Do you have the option to merge two different databases?

"Synchronization between OCS servers master/slaves" Not good, because it only syncs the currently logged in machines. I need complete database.

Thanks!

in OCS Inventory NG server for Unix by (900 points)
edited by

6 Answers

0 votes
I didn't try this, but for sure SQL database export / impost via SQL commands works fine What's exactly the problem ? Can't you sent OCS traffic to one server?
by (2.9k points)
0 votes

I have two OCS servers with different data. I want to unite. No more machines are connected to the old server.

by (900 points)
0 votes
Hi,

Databases are different as you said. First is from ocs 1.x version and second from 2.x ? If so it couldn't be merged because structure is different.

Regards

Frank
by (90.2k points)
0 votes
Hi,

The database is 2.x.

Regards,

Joc
by (900 points)
0 votes

i wonder if it isn't enough to just export all computers on the old server and then import all the computers in the new server.

here is how to export a computer

https://wiki.ocsinventory-ng.org/04.Management-console-and-its-advanced-features/Export-a-computer/

mass Import maybe possible with a perl script

serach for

With Communication server through a Perl script

Kind regards
sokatra

by (24.4k points)
0 votes
Yes, that’s exactly the problem. I can't mass relocate workstations. It would be good to have a mass export opportunity.
by (900 points)
 
Powered by Question2Answer
...