Migrate 9.3 scripts to another 9.3 installation

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 04-04-2014 01:09 PM
I have a departmental JSS that I need to migrate/integrate with a larger unit's JSS. I was wondering if I can use the API or perhaps a method you have found to migrate the JSS-housed scripts?
Looking through the API I see that a test returns some metadata regarding the script but not the actual script.
Any thoughts?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 04-04-2014 04:06 PM
The easiest way would probably be to use a MySQL database viewer/administrator program on both clients. On Windows I use HeidiSQL, and Mac has a similar utility called jHeidi, but use whatever works best for you. Simply do the following (on a weekend or at a time when machines aren't running policies) :
- Backup/export the entire JSS database on the destination machine
- Export the desired script data from the the "scripts" table of the JSS database on the source machine
- Open the exported file in a text editor and modify important values (ID/key, category, etc.)
- Import the edited data on the destination machine
- If problems arise, import the destination machine's backup/export
