Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
qlik_Maestro
Contributor III
Contributor III

Copying all QMC Tasks to another server

Hi All,

I am looking for a quick way to copy all the tasks from one Qlik environment to another environment. 

I found through the search that the QMC tasks are contained inthe following XML files:

ProgramData\QlikTech\ManagementService\QVPR\SourceDocument.XML

ProgramData\QlikTech\ManagementService\QVPR\DocumentTask.XML

I copied these from server 1 to server 2, restarted the services, and when I go into server 2 QMC, I see that all the initial tasks are gone. 

My question is, what do i need to do to see all of server 1 QMC tasks in server 2 QMC? Is there another XML file I need to copy? Is there something I have to do with the ProgramData\QlikTech\DistributionService folder? I feel like there is definitely another component here that I am missing to get the functionality that I am looking for. 

7 Replies
Chip_Matejowsky
Support
Support

Hi @qlik_Maestro,

There are a couple of ways to do this.  If your QVS/Pub servers are the same build version and have the same back end folder structure, you can use the QV Remote Management Service.  See article How to Import tasks from one system to another by using Remote Management Service  for details.  If the versions or folder structure differs, you can copy the QVPR over to new server and then perform a little surgery to ensure the new servername is configured. The QlikView Help entry Migrate and restore your QlikView Server backup  & article How to Upgrade or Migrate QlikView 11.20 and later versions have the details (see Step 2 - Moving the QlikView Server, including the QVPR and tasks).

 

Best Regards

Principal Technical Support Engineer with Qlik Support
Help users find answers! Don't forget to mark a solution that worked for you!
qlik_Maestro
Contributor III
Contributor III
Author

Thank you for the quick response Chip. 

I know that there is the option of entire QVPR copy + find and replace of hostname, but it just seemed a bit overboard. I was looking for a way to just take the few files relevant to the QMC tasks and moving them over. Both server 1 and server 2 are almost identical except hostname.

I got excited when I saw that contents of the two XML files I mentioned did not reference the server hostname, so I was hoping no find and replace of the server1 hostname would be needed. I'm assuming there is another reference that is not in sync with the rest of the server 2's QVPR XML files?

The Remote Management service is a good manual workaround but I can see it getting tedious. 

Chip_Matejowsky
Support
Support

There are many underlying dependencies within the .XML files that comprise the QVPR, so as a Qlik employee, I'd advocate for the "supported" methods I mentioned previously.  

Principal Technical Support Engineer with Qlik Support
Help users find answers! Don't forget to mark a solution that worked for you!
johnca
Specialist
Specialist

We upgraded from Win2008 and our admins tried to copy the QVPR data and since the folder structure was different it caused all kinds of issues as Chip explained the dependencies. Even when they backed it out some issues persisted. We have ~275 jobs and had to create them manually but got it done in a few days. Don't cut corners here.

qlik_Maestro
Contributor III
Contributor III
Author

Thanks Chip,

 

While I have you on this topic, I just want to ask: would you say that this QVPR folder copy + hostname replace method is best practice regarding syncing incremental new QMC tasks to a secondary server meant for DR or HA purposes? Or would the remote management service be a better solution given there seems to be less "risk" involved?

Chip_Matejowsky
Support
Support

Hey @qlik_Maestro,

Remote Management Services should work well in this scenario as I assume you'd be utilizing the same backend file structure and files.  If you use RMS and you have Supporting Tasks, you'll need to manually recreate them on the DR/HA server as they're not transferred.  Another typical scenario of use for RMS is to "elevate" tasks from a Test/UA environment up to a production environment.  Typically, the copying QVPR method is used when migrating to a new server or concurrently upgrading &migrating an environment. 

You may want to reach out to your Qlik account team as they may be able to provide you to a resource for a quick meeting to answer your questions around this topic.

Best Regards

Principal Technical Support Engineer with Qlik Support
Help users find answers! Don't forget to mark a solution that worked for you!
Chip_Matejowsky
Support
Support

@qlik_Maestro,

Been looking for this:  Worry Free Migration for QlikView Server / Publisher as it is seminar by former Support employee and QV guru Brett Bleess.  It may prove helpful to you as well.

 

Best Regards

Principal Technical Support Engineer with Qlik Support
Help users find answers! Don't forget to mark a solution that worked for you!