Skip to content

Copy Move profile to other environment profile #3016

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
acitonic opened this issue Mar 25, 2025 · 1 comment
Open

Copy Move profile to other environment profile #3016

acitonic opened this issue Mar 25, 2025 · 1 comment

Comments

@acitonic
Copy link

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.

@BornToBeRoot
Copy link
Owner

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants