Automating Export/Import?

English Support for Syncovery on Windows.
Post Reply
ReklessSVT
Posts: 2
Joined: Tue Mar 07, 2023 7:49 pm

Automating Export/Import?

Post by ReklessSVT »

Is there a way to automate, using code, exporting/disabling a profile and importing/enabling the same profile in to another instance of Syncovery? Looking to slowly migrate profiles off an active Syncovery instance to a new server. Would love to find a way to automate this so that we can export certain profiles and disable them, transfer the backup, then import the profiles and enable them on the new server.

tobias
Posts: 1603
Joined: Tue Mar 31, 2020 7:37 pm

Re: Automating Export/Import?

Post by tobias »

Hello,
yes, you can use the command line tool SyncoveryCL.exe and invoke it with the appropriate command lines.

Such as:

Code: Select all

SyncoveryCL.exe /EXPORTONEXML="Profile Name"

Code: Select all

SyncoveryCL.exe CHANGE "Profile Name" /Disabled

Code: Select all

SyncoveryCL.exe /IMPORT="Profile Name.xml"
See also:
https://www.syncovery.com/command-line/

ReklessSVT
Posts: 2
Joined: Tue Mar 07, 2023 7:49 pm

Re: Automating Export/Import?

Post by ReklessSVT »

Thanks tobias! Do you happen to know if there's a way to get a list of profiles with a common name IE "Customer1 profile name" and get all profiles with Customer1 in it so they can be each exported/disabled or would I have to do something like exportallXML and then filter through the XML output?

tobias
Posts: 1603
Joined: Tue Mar 31, 2020 7:37 pm

Re: Automating Export/Import?

Post by tobias »

Hello,
you could manually select the profiles in the Syncovery GUI and then export the selected profiles to CSV and work with that.

Post Reply