Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
FrancoHR
Partner - Contributor III
Partner - Contributor III

Export all tasks by command

I am trying to extract all the replicate tasks but when I execute the command: repctl exportrepository, it generates a json of 1kb. What's wrong?

Regards,

Labels (2)
14 Replies
FrancoHR
Partner - Contributor III
Partner - Contributor III
Author

I ran it as administrator:

I tried: repctl -d E:\Program Files\Attunity\Replicate\data exportrepository
Output: [Files\Attunity\Replicate\data command] Failed command Files\Attunity\Replicate\data cannot be found (exit status 20014)

Is it because of the blank space in program files?

Dana_Baldwin
Support
Support

Hi @FrancoHR 

Yes, you need to wrap the path following -d in quotes.

Thanks,

Dana

Dineshan
Support
Support

Hello @FrancoHR 

Please try this command.

repctl -d "E:\Program Files\Attunity\Replicate\data" exportrepository

Thank you,

Dinesh

FrancoHR
Partner - Contributor III
Partner - Contributor III
Author

Thanks for the help!

Regards.

Kent_Feng
Support
Support

Hi Franco,

When you run the command repctl exportrepository, Replicate will save a json to the Replication installation folder, with the default name Replication_Definition.json. (and the default path is c:\Program Files\Attunity\Replicate\data\imports\). This json file contains all tasks definitions and also some other settings like notifications. This is the standard operation for exporting or backing up Replicate tasks.

You need to run command "repctl importRepository json_file=Replication_Definition" to import all tasks into another Replicate server or the same Replicate server. Before doing so, you can also edit the json file to remove some settings you don't need such as the notification section.

*** Greetings from Down Under ***