NETworkManager icon indicating copy to clipboard operation
NETworkManager copied to clipboard

Copy Move profile to other environment profile

Open acitonic opened this issue 11 months ago • 1 comments

I'm looking for a feature to copy or move existing profiles for hosts to a different environment profile instead of making a copy in the same environment.

Apart from that, it's a little bit confusing they are both called profile in the settings.

I tried to copy them in the settings json file but I got an error everytime.

acitonic avatar Mar 25 '25 14:03 acitonic

Hello, i am not sure if i understood it correctly. You want to move/copy a profile/host (server-01) from a profile file (company-A) to another profile file (company-B)?

This is (currently) not supported within the tool, but can do it manually if you want (or duplicate the profile file and then delete the hosts you don't want).

From: %UserProfile%\Dokumente\NETworkManager\Profiles\company-A.xml To: %UserProfile%\Dokumente\NETworkManager\Profiles\company-B.xml

Inside the xml file there is an entry for each group: <GroupInfoSerializable> and each group has the profiles (hosts). <Profiles>\ <ProfileInfoSerializable>, You can just copy & paste the <ProfileInfoSerializable> for each profile you want to move/copy.

If you copy it into another group, you need to update the <Group>Default</Group> property for each profile...

Note: This only works for unencrypted files - you may need to unencrypt them first.


I am currently not planning to make any major changes to the profiles here (unless there are several people who would like this feature). Maybe, in the distant future, I will revise the profiles again. I still have a few ideas (possibly also sharing/syncing with others - as a self-hosted version).

BornToBeRoot avatar Mar 25 '25 15:03 BornToBeRoot