generalyoutrack

Create and restore application backups through the GUI

Backup

To backup, follow the steps below:

  • Log in to the application as an administrator.
  • Select the “Administration -> Server Settings -> Database Backup” menu item.
  • Choose the backup location on the server and set the archive format to tar.gz.
  • Click the “Backup database now…” button. A new backup file with a tar.gz extension will be created.

    Backup

  • Download the backup file by clicking it.

Restore

To restore, follow the steps below:

  • Stop the servers.
  • Copy your backup file to the directory /opt/bitnami/apps/youtrack/youtrack_home.
  • Rename the current database folder and create a new one with the commands below:

    $ sudo mv /opt/bitnami/apps/youtrack/youtrack_home/teamsysdata /opt/bitnami/apps/youtrack/youtrack_home/teamsysdata.back
    $ sudo mkdir /opt/bitnami/apps/youtrack/youtrack_home/teamsysdata
    
  • Restore your backup file, replacing FILENAME with the backup file name:

    $ sudo tar -pxzvf /opt/bitnami/apps/youtrack/youtrack_home/FILENAME -C /opt/bitnami/apps/youtrack/youtrack_home/teamsysdata
    
  • Start the servers again.

Last modification November 14, 2019