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)
1 Solution

Accepted Solutions
Dana_Baldwin
Support
Support

Hi @FrancoHR 

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

Thanks,

Dana

View solution in original post

14 Replies
Dineshan
Support
Support

Hello @FrancoHR 

Where is your data directory? If it is not installed in the default location, you will need to specify it in the export command. 

repctl -d /opt/attunity/replicate/data exportrepository

Thank you,

Dinesh

FrancoHR
Partner - Contributor III
Partner - Contributor III
Author

Hello @Dineshan 

Replicate installed on Windows.

My data folder is in: 'E:\Program Files\Attunity\Replicate\data'
Replicate: 'C:\Program Files\Attunity\Replicate'
the command would be? repctl -d 'E:\Program Files\Attunity\Replicate\data' exportrepository

SwathiPulagam
Support
Support

Hi @FrancoHR ,

 

That is correct.

 

Thanks,

Swathi

SwathiPulagam
Support
Support

Hi @FrancoHR ,

 

Here is the command if you want to include the server settings also:

repctl -d [data directory] exportrepository include_server_settings=true

 

Thanks,

Swathi

FrancoHR
Partner - Contributor III
Partner - Contributor III
Author

Hello @SwathiPulagam 

I ran the command and got the following error:

REPCTL initialization - failed to initialize environment (status 1000195)
[e:\jenkins_slave\workspace\Replicate-2021.5.0-Win-x64\replicate\repsrv\base\environment.c:269] (1000195) Class 'ENCRYPTION_CLASS' failed to initialize.
[e:\jenkins_slave\workspace\Replicate-2021.5.0-Win-x64\replicate\repsrv\base\encryption.c:1423] (1000195) Failed to save server password

any idea?

FrancoHR
Partner - Contributor III
Partner - Contributor III
Author

Hello @SwathiPulagam 

I ran the command and got the following error:

REPCTL initialization - failed to initialize environment (status 1000195)
[e:\jenkins_slave\workspace\Replicate-2021.5.0-Win-x64\replicate\repsrv\base\environment.c:269] (1000195) Class 'ENCRYPTION_CLASS' failed to initialize.
[e:\jenkins_slave\workspace\Replicate-2021.5.0-Win-x64\replicate\repsrv\base\encryption.c:1423] (1000195) Failed to save server password

FrancoHR
Partner - Contributor III
Partner - Contributor III
Author

I ran the command  and got the following error:

REPCTL initialization - failed to initialize environment (status 1000195)
[e:\jenkins_slave\workspace\Replicate-2021.5.0-Win-x64\replicate\repsrv\base\environment.c:269] (1000195) Class 'ENCRYPTION_CLASS' failed to initialize.
[e:\jenkins_slave\workspace\Replicate-2021.5.0-Win-x64\replicate\repsrv\base\encryption.c:1423] (1000195) Failed to save server password

FrancoHR
Partner - Contributor III
Partner - Contributor III
Author

I ran the command  and got the following error:

REPCTL initialization - failed to initialize environment (status 1000195)
[e:\jenkins_slave\workspace\Replicate-2021.5.0-Win-x64\replicate\repsrv\base\environment.c:269] (1000195) Class 'ENCRYPTION_CLASS' failed to initialize.
[e:\jenkins_slave\workspace\Replicate-2021.5.0-Win-x64\replicate\repsrv\base\encryption.c:1423] (1000195) 

SwathiPulagam
Support
Support

Hi @FrancoHR ,

 

Ensure to run the command prompt as administrator to execute the repctl.exe.

 

Thanks,

Swathi