Backing Up the Database

You can create database backups as needed or schedule automated database backups using Jamf Pro Server Tools.

Note: The time it takes to create a backup depends on the size of the database.

Creating a Database Backup

  1. Open the Jamf Pro Server Tools GUI by performing the following steps:

    1. Open a command terminal and enter the following but do not press Enter:

      java -jar
    2. Drag the Jamf Pro Server Tools .jar file into the window. This will add the .jar file path to the java -jar command.

    3. Press Enter.

  2. Click Database Connection in the sidebar.

  3. Configure the settings to match your database configuration, and then click Test Connection.

    • If successful, the message "Successfully Connected" appears. Continue with Step 4 below.

    • If the connection is not successful, an error message will appear.

  4. Click Backup and Restore in the sidebar.

  5. Click Save Backup.

    images/download/attachments/87562326/Screen_Shot_2019-05-14_at_11.53.56_AM.png

  6. Choose a location to save the backup and click Open.

Jamf Pro Server Tools saves the backup as a .sql.gz file.

Scheduling Database Backups

You can schedule database backups to occur on an ongoing basis. You can also automate the deletion of scheduled backup files that are older than a specified number of days.

  1. Open the Jamf Pro Server Tools GUI by performing the following steps:

    1. Open a command terminal and enter the following but do not press Enter:

      java -jar
    2. Drag the Jamf Pro Server Tools .jar file into the window. This will add the .jar file path to the java -jar command.

    3. Press Enter.

  2. Click Scheduled Backups in the sidebar.

  3. Select the Enable scheduled backups checkbox.

  4. If prompted, enter your Jamf Pro Server Tools configuration password.

  5. Choose the hour and the days that you want backups to occur.

  6. To automatically delete old backups, enter the number of most-recent backups that you want to keep in the Backups limit field. All older backup files will be deleted when the scheduled backups run. To retain all backups, enter "0".

  7. To save the backups in a custom location, click Browse and select a new location. It is recommended that you store the backups on a separate drive. images/download/attachments/87562326/ScheduledBackups.png

Stopping Scheduled Database Backups

  1. Open the Jamf Pro Server Tools GUI by performing the following steps:

    1. Open a command terminal and enter the following but do not press Enter:

      java -jar
    2. Drag the Jamf Pro Server Tools .jar file into the window. This will add the .jar file path to the java -jar command.

    3. Press Enter.

  2. Click Scheduled Backups in the sidebar.

  3. Deselect the Enable scheduled backups checkbox.

    images/download/attachments/87562326/StopScheduledBackups.png

Jamf Pro Server Tools immediately stops creating scheduled backups.

Copyright     Privacy Policy     Terms of Use     Security
© copyright 2002-2022 Jamf. All rights reserved.