Skip to main content
Solved

Jamf Sync CLI formatting

  • October 22, 2024
  • 1 reply
  • 11 views

Forum|alt.badge.img+17

I'm trying to use Jamf Sync from the command line to keep a local backup of our jamfcloud packages. It works great from the GUI (so everything is in my keychain), but in the CLI I can't get it to connect to the server. The issue is with the formatting of the source I think.

With the "Name" for my source in the GUI set as "JamfCloud" (for my JCDS), and the local directory named "JamfcloudBackup" I've tried...

-s JamfCloud -d JamfcloudBackup -p
-s JCDS:JamfCloud -d JamfcloudBackup -p
-s JCDS:xxxxxxxx.jamfcloud.com -d JamfcloudBackup -p
-s JCDS:https://xxxxxxxx.jamfcloud.com -d JamfcloudBackup -p
-s https://xxxxxxxx.jamfcloud.com -d JamfcloudBackup -p

And I get the same response...

Loading distribution points
Couldn't find the source distribution point or folder:

 The help page says to use "the source name" but is that the name defined in the GUI, or the actual URL in my case?

Best answer by cwaldrip

Well, this made no sense... but even though there are not spaces in the source name it works with this line.

-s "JCDS:JamfCloud" -d JamfcloudBackup -p

Go figure.

1 reply

Forum|alt.badge.img+17
  • Author
  • Valued Contributor
  • Answer
  • October 22, 2024

Well, this made no sense... but even though there are not spaces in the source name it works with this line.

-s "JCDS:JamfCloud" -d JamfcloudBackup -p

Go figure.