Migrating 2 setups to 1

Hey

I have a small question regarding export/import. We have 2 Octopus installations, that we need to merge to 1. I created a export using the export manager. But alle ID in this export are starting from 1 (Environments-1, Channels-1). Since we already have an existing setup, there already exists a channel with ID = Channels-1. Therefor the import will override all the existing elements that have a similar ID.

Is there a way of changing the export to make unique ID’s?
I also thought of going in the DB directly and update every ID, to offset them so Channels-1 will be 1 over the highest ID for the existing channels. But I would like and avoid doing this.

Hi Mikkel,

Thanks for contacting us. Yes the ids are numbered from 1 however the importer understands that and will automatically remap the ids during import.

The best thing to do would be to use the --dryRun option to see what will happen during the import. Dry run will let you know if there will be any issues during import without actually performing the import.

Hope that helps.
Cam