YouTrack Standalone 7.0 Help

Back Up the Database

To access database controls, select Database Backup from the Administration menu.


You can back up YouTrack database right away or us a cron expression to back up the database on a set schedule (see cron expression syntax for reference).
There are several things to take note of regarding YouTrack database settings and controls:

  • YouTrack automatically switches the database to read-only mode when you start the database backup.
  • You can't cancel the database backup once it has started.
  • Users do not have access to YouTrack during database backup, so be sure to schedule backup wisely.
  • Notifications about the status of the database backup can only be configured for YouTrack application administrators.

Configure Backup Settings

You can modify the default settings of your database backup configuration.

To configure database backup settings:

  1. In the Server Settings section of the Administration menu, select Database Backup.
  2. In the Backup Location field, set the location of the backup folder for your server.
  3. Set the Archive Format to determine whether the backup files are created as a TAR.GZ or ZIP archives.

    The maximum size of the ZIP backup file is 2Gb. For larger databases, use TAR.GZ archives.

  4. In the Notify about Failures drop-down list, select the users who receive notification messages about the database backups.

    To receive notifications for database backup, the user must also have the Low-level Administration permission.

  5. To configure automated backups, select the Enable regular backup check box. When you enable regular backup, the following settings are displayed:
    • Backup Interval — Set the schedule for automatic backups. Select one of the pre-configured intervals or use a cron expression to set up a custom interval (see cron expression syntax for reference).
    • Backup Files Rotation — Specify a number of the database backup files to keep. This parameter lets you create a rotation of database backups. Only the specified number of the backups files are kept on your server. To disable the automatic backup rotation, set the number to '0' (zero). In this case, all backups files are kept and must be deleted manually.
      To delete a backup file manually, select the file in the list and click the trash button.
Last modified: 2 February 2017