Skip to content
Leslie Helou edited this page Feb 5, 2025 · 14 revisions

icon_128x128

Jamf CPR (Cloud Package Replicator) for JCDS2

jamfCPR

  • repositories - Manage the list of package repositories (local folders, file shares, S3 buckets, and JCDSs)

    File share distribution points will be listed as available source/destination as <sharepoint name> (<Jamf Pro display name>). For example:
    repositories

  • Support for using API Client:
    Screenshot 2023-11-03 at 1 06 14 AM

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

Suggested permissions for the API client:

  • Create Categories

  • Read Categories

  • 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


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