Automating Export/Import?
-
- Posts: 2
- Joined: Tue Mar 07, 2023 7:49 pm
Automating Export/Import?
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.
Re: Automating Export/Import?
Hello,
yes, you can use the command line tool SyncoveryCL.exe and invoke it with the appropriate command lines.
Such as:
See also:
https://www.syncovery.com/command-line/
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"
https://www.syncovery.com/command-line/
-
- Posts: 2
- Joined: Tue Mar 07, 2023 7:49 pm
Re: Automating Export/Import?
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?
Re: Automating Export/Import?
Hello,
you could manually select the profiles in the Syncovery GUI and then export the selected profiles to CSV and work with that.
you could manually select the profiles in the Syncovery GUI and then export the selected profiles to CSV and work with that.