Skip to content
Leslie Helou edited this page Feb 10, 2024 · 11 revisions

icon_128x128

Jamf CPR (Cloud Package Replicator) for JCDS2

  • Update is not compatible with JCDS1.
282186321-8c13c817-2fcf-4cb0-b675-1e4c428dbbdb
  • Screenshot 2023-11-03 at 12 46 01 AM - Add a server as a source or destination.

  • Screenshot 2023-11-03 at 12 46 35 AM - Add a folder as a source or destination. By mounting an on premise distribution point in the Finder you can replicate from Jamf Cloud. Packages will download to ~/Downloads/jamfcpr if either 'Save' or 'Save Only' is selected for 'Options' and the destination is a Jamf Pro server.

  • Screenshot 2023-11-03 at 12 46 52 AM - Edit the display name or change username/password/API client/secret for the current source/destination.

  • Screenshot 2023-11-03 at 12 47 07 AM - Delete the currently selected source/destination. Note, this will be deleted from both source/destination lists.

  • Support for using API Client:

Screenshot 2023-11-03 at 1 06 14 AM

Suggested permissions for the API client:

  • Create Packages

  • Read Packages

  • Update Packages

  • Delete Packages

  • Jamf Packages Action

  • Read Cloud Services Settings

  • Create Jamf Content Distribution Server Files

  • Read Jamf Content Distribution Server Files

  • Delete Jamf Content Distribution Server Files

  • Read Cloud Distribution Point

  • Update Cloud Distribution Point

  • Read Distribution Points

  • Screenshot 2023-11-03 at 1 10 48 AM - Access credentials stored for a particular server

File share distribution points will be listed as available source/destination as <sharepoint name> (<Jamf Pro display name>). For example:
Screenshot 2024-02-07 at 8 08 08 AM

If the file share distribution points aren't showing up or the list needs updating click the edit button, Screenshot 2023-11-03 at 12 46 52 AM, and re-authenticate to the Jamf Pro server.


Replication from the command line is available with the following switches:

  • -source: Switch is required. URL of the source. URL can be either a Jamf Pro server (https://your.jamfcloud.server) or a directory path.
  • -sourceUser: Only required if there are multiple credentials (usernames) stored for the source.
  • -destination: Switch is required. URL of the destination. URL can be either a Jamf Pro server (https://your.jamfcloud.server) or a directory path.
  • -destinationUser: Only required if there are multiple credentials (usernames) stored for the destination.
  • -syncOption: Available options are "Force Sync", "Save", and "Save Only"

Credentials must be saved in the keychain (using the app) and at least one file must be replicated to/from a directory before command line replication will work. By default only packages that need to be updated will replicate.

Example (that forces all packages to replicate):
/Applications/jamfcpr.app/Contents/MacOS/jamfcpr -source https://<dev>.jamfcloud.com -sourceUser jpdevadmin -destination https://<prod>.jamfcloud.com -destinationUser jpprodadmin -syncOption "Force Sync"

Clone this wiki locally