Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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,
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?
Hello @FrancoHR
Please try this command.
repctl -d "E:\Program Files\Attunity\Replicate\data" exportrepository
Thank you,
Dinesh
Thanks for the help!
Regards.
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.