Skip to main content

Exporting Objects from the Web Client

The Export tab of the Import / Export page builds an Export Bundle: a set of object definitions you collect from across object types and Folders, and then download as one .zip file. Use it to move part of an environment to another JAMS server, for example when promoting Jobs from test to production, migrating a group of objects, or making a one-off transfer. To import the bundle on the target server, see Importing Objects.

The Export Bundle is a transfer utility. It is not a source-control or backup solution: it doesn't keep versions, and it leaves out passwords, private keys and encrypted values.

The Export Bundle lasts for the browser tab you build it in. Other browser tabs don't see it, and it is cleared when you close the tab or sign out.

Opening the Import / Export Page​

Click System in the left sidebar, and then click Import / Export, below Configuration.

While the Export Bundle holds objects, a count pill next to Import / Export in the sidebar, and next to the Export tab, shows how many it holds.

The page opens on the Import tab. When the Export Bundle already holds objects, the Export tab is listed first and opens instead.

Adding Objects to the Export Bundle​

You can add these object types to the Export Bundle:

  • Agents
  • Batch Queues
  • Connections
  • Credentials
  • Execution Methods
  • Folders
  • Jobs
  • Named Times
  • Resources
  • Variables

Calendars, Date Types, Menus and App Menus can't be added to an Export Bundle. To move them, use the JAMS Desktop Client or the Export-JAMSXml cmdlet. See Migrating JAMS Objects.

Adding an object never opens it or changes your selection, so you can keep working in the list.

From a list​

On the Jobs, Variables, Execution Methods, Agents, Connections, Credentials, Resources, Batch Queues or Named Times screen, do either of the following:

  • Select a row, and then click Add to Export Bundle in the toolbar. The button is disabled until you select a row.
  • Click the under the Actions column of a row, and then select Add to Export Bundle.

From the Folder Navigator​

Select a Folder in the Folder Navigator, click , and then select one of the following:

  • Add to Export Bundle - Adds the Folder's own definition only. This item is disabled for the root Folder, which exists on every server.
  • Add Folder with Contents - Adds the Folder, every Folder below it, and the Jobs and Variables inside them. For the root Folder, it adds everything below the root Folder, but not the root Folder itself.

Messages when you add an object​

A message at the bottom of the screen tells you what happened:

MessageMeaning
Added object name to the Export Bundle.The object was added.
object name is already in the bundle.The object was already in the Export Bundle, so nothing changed.
You don't have permission to export object name.The object was not added. See Permissions.
Added n objects from Folder path to the Export Bundle.Add Folder with Contents added these objects.
Added n objects from Folder path to the Export Bundle. Skipped n objects you don't have permission to export.Add Folder with Contents added the objects you can export and left out the rest.
Everything in Folder path is already in the bundle.Add Folder with Contents found nothing new to add.
Everything you can export from Folder path is already in the bundle. Skipped n objects you don't have permission to export.Add Folder with Contents found nothing new to add that you can export.

An object is identified by its type and its internal ID. If you rename or move an object after you add it, it is still the same item in the Export Bundle.

The Export Tab​

When the Export Bundle is empty, the Export tab shows Your bundle is empty, with a reminder of where to add objects. Clear bundle and Export Bundle are disabled.

When the Export Bundle holds objects, the Export tab shows the following, from top to bottom.

  • Bundle file name - The name of the .zip file you download. The default is jams-export-YYYY-MM-DD.zip, using today's date. You can edit it. When you leave the field, characters that aren't allowed in a file name are removed, .zip is added if it is missing, and the name is limited to 100 characters.
  • Restrict ACL notice - When the Restrict ACL On Export setting is on, the line Restrict ACL On Export is on: permissions are not included. appears. See Permissions and ACLs.
  • Items - The objects in the Export Bundle, grouped by type in the order they are written to the .zip file. Each group shows its type, the XML file it is written to, and its count. Jobs, Folders and Variables show their Folder path. Click Remove (the ✕ at the end of a row) to take an object out of the Export Bundle. Remove doesn't ask for confirmation.
  • Notices - Warnings and information about the objects in the Export Bundle. See Notices.
  • Bundle contents - A preview of the files inside the .zip file: manifest.json, then each numbered XML file with the types and counts it holds.
  • An information line: JAMS Web Import automatically handles object dependencies and import order.

The footer holds two buttons:

  • Clear bundle - Removes every object from the Export Bundle. A Clear the bundle? dialog asks you to confirm, because this can't be undone. Click Clear. The page then returns to the Import tab.
  • Export Bundle - Downloads the .zip file. It is disabled while the Export Bundle is being checked, and while any row is flagged with an error. See Errors on a row.

Each time the Export Bundle changes, the Export tab checks it on the server. Checking the bundle… shows in the footer while the check runs. If the check fails, an error appears with a Check again button. A failed check doesn't block the export, because the export checks every object again.

Notices​

A notice appears only when it applies to an object in the Export Bundle. Each notice names the objects it is about. When it names more than five, click show n more to see the rest. Warnings are orange; information notices are blue.

NoticeWhen it shows
Same nameTwo or more Jobs, Folders or Variables have the same type and name, ignoring case, but are in different Folders. JAMS Web Import keeps them separate, but the JAMS Desktop Client and Import-JAMSXml import them into one Folder, where they may overwrite one another.
Objects this bundle uses aren't includedAn object in the Export Bundle refers to an object that isn't in it, such as a Job's Agent, Credential or Batch Queue. Add the referenced object, or make sure it exists on the target server. Execution Methods are never listed, because every Job uses one and most are built in to JAMS.
Execution MethodsThe Export Bundle holds Execution Methods. Importing one replaces the Execution Method with the same name on the target server, including built-in Execution Methods.
Binary Variables left outA Variable with a binary value is left out of the .zip file, because the JAMS Desktop Client can't read binary values. Make sure it exists on the target server.
Permissions left outSome ACL entries are left out because their accounts aren't known to JAMS Web. Check the permissions of these objects after you import them.
Passwords and private keysCredentials whose password or private key is stored in JAMS. These aren't exported. On import, existing Credentials keep theirs; enter them for new Credentials. A password stored in a Secret Provider is exported as its link.
Encrypted valuesEncrypted Variable values and encrypted Parameter values aren't exported. On import, existing objects keep their values; enter them for new objects.

Errors on a row​

When you click Export Bundle, every object is checked again. If an object can no longer be exported, the export stops, the row is flagged with one of the following messages, and the footer shows how many objects can't be exported.

  • You no longer have permission to export this object.
  • This object no longer exists.
  • This object contains a character that can't be exported, such as a control character. Remove the character from the object, or remove the object from the Export Bundle.

Export Bundle stays disabled until you remove the flagged rows.

What the .zip File Contains​

The .zip file holds a manifest.json file, which records the bundle's metadata and import order, and one numbered XML file for each object type in the Export Bundle. Each XML file uses the JAMS Desktop Client's <JAMSObjects> format.

FileContains
01-credentials.xmlCredentials
02-agents.xmlAgents and Connections
04-namedtimes.xmlNamed Times
05-resources.xmlResources
06-batchqueues.xmlBatch Queues
07-folders.xmlFolders
08-variables.xmlVariables
09-methods.xmlExecution Methods
12-jobs.xmlJobs

Only the files for the types in the Export Bundle are written. Numbers 03, 10 and 11 are reserved for Calendars, Menus and App Menus, which the Web Client doesn't export.

What isn't exported​

  • Credential passwords and private keys stored in JAMS
  • Encrypted Variable values and encrypted Parameter values
  • Tags
  • Binary Variables
  • ACLs, when Restrict ACL On Export is on, and ACL entries whose accounts aren't known to JAMS Web

Permissions​

To export an object, you need Inquire access to the object. For a Job, Folder or Variable, you also need Inquire access to its parent Folder. JAMS has no Export permission to grant: if you can see an object in its list, you can export it.

If you lose access after you add an object, the object is flagged when you export. See Errors on a row.

ACLs​

Each object's ACL is exported according to the Restrict ACL On Export setting on the Configuration page. When the setting is on, no ACLs are exported, and the Export tab shows Restrict ACL On Export is on: permissions are not included. See Configuration.

Using a Web Client Bundle in JAMS Desktop or Import-JAMSXml​

The JAMS Web Client Import reads the .zip file directly. To use a bundle with the JAMS Desktop Client or the Import-JAMSXml cmdlet instead, keep the following in mind:

  • Unzip the bundle first, and import the XML files one at a time, in numbered order.
  • manifest.json is ignored.
  • Import-JAMSXml can't import 04-namedtimes.xml.
  • Jobs, Folders and Variables are imported into one Folder, so objects with the same name overwrite one another. See the Same name notice in Notices.
  • Named Time links on window schedules, and Menu Folder links, don't carry over.
  • Imported Named Times start disabled.
  • If a file fails to import some rows, click Import again for the rows that failed.

For more about Import-JAMSXml, see JAMS PowerShell Export-Import Cmdlets.