jamf / JamfMigrator

A tool to migrate data granularly between Jamf Pro servers
MIT License
136 stars 10 forks source link

Feature Request: option to allow items to transfer without computers/devices/users attached #99

Closed wakco closed 6 months ago

wakco commented 6 months ago

I operate a dual server setup (developer and production environments) It would be useful that if anything that might have a computer/device/user directly attached to it (such as static groups) ignore the computer/device/user attached, since in my environment it is unlikely the computer/device/user be on the other environment.

A preference setting maybe, with a sub-option to include or exclude policies where "Migrate Dependencies" is ticked.

BIG-RAT commented 6 months ago

Just to be sure, these settings aren't getting the desired results? Uncheck scope for policies. copyPrefs

wakco commented 6 months ago

That Pane is not very clear, but i'll try that for Static Groups, not to mention, I still want the groups to copy, but I'll test them out.

But thanks, I so missed that, I only discovered the problem as I'm setting up a fresh dev instance so copying everything from production, and hitting a snag when something has a computer/device/user attached.

BIG-RAT commented 6 months ago

Things can get tricky when individuals objects are involved. Especially when those objects are used for exclusions. I'd just hate to copy something scoped to all, but limited to only 'these' objects and have that restriction dropped in the copy.

wakco commented 6 months ago

I'm closing this because I'm going to go with a workaround, where I'll make sure the Static Groups on that pref pane remain unticked, and just make sure I have no policies/etc with computers/devices/users directly attach (require they be in an appropriate group), which is an appropriate plan since we allow the support staff to edit groups, but not edit policies/etc.