my dog learned polymorphism*
The moose likes JForum and the fly likes Merging multiple DBs possible? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "Merging multiple DBs possible?" Watch "Merging multiple DBs possible?" New topic
Author

Merging multiple DBs possible?

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I've been given the task of possibly merging 4 forums, (users, posts, etc) into one server instance. Is it possible to save the old posts and copy them into a new forum? I searched but find nothing.
[originally posted on jforum.net by hwy9nightkid]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
hwy9nightkid wrote:I've been given the task of possibly merging 4 forums, (users, posts, etc) into one server instance. Is it possible to save the old posts and copy them into a new forum? I searched but find nothing.


I'm not aware of any available scripts for doing this. I guess you will have to create your own script for this. We would be more than happy if you post your merge script here, and make it available to the public.
[originally posted on jforum.net by lazee]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Ok, well I am not really familiar with scripts, or scripting..can someone point me in the right directions?
[originally posted on jforum.net by hwy9nightkid]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
hwy9nightkid wrote:Ok, well I am not really familiar with scripts, or scripting..can someone point me in the right directions?


I'm afraid pointing you in the right direction will take me longer time than writing the scipt Hopefully someone else will be able to help you out.
[originally posted on jforum.net by lazee]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I'm saved, so I talked to my super..he explained not to merge the DBS, but merely copy them all and run multiple instances of jforumn in one tomcat, which is possible AFAIK.

ill search on how to backup and move the DBs. Then run 4 instances of Jforum with different names to 4 different DBs.
[originally posted on jforum.net by hwy9nightkid]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Merging multiple DBs possible?
 
Similar Threads
Is there any Java API to append to a PDF
Java Ranch on RSS ?
iText merging
Uploading multiple image files
problem with File Upload in Struts