Backing Up the Jamf Pro Database

Technical Articles

Solution
Application
Content Type
Technical Documentation
Utilities & Services
ft:locale
en-US
You can back up the database by executing the following command:
jamf-pro database backup
You can configure the number of backups you want to keep by executing the following command:
jamf-pro config set --backup-limit number_of_backups
For example, if you want to retain only the 10 most recent backups, you would enter the following:
jamf-pro config set --backup-limit 10
Note:

The backup file limit is based on the backup file dates and not the backup filenames. The backup file limit includes manual backups and any other .sql.gz files in the backups folder.