In the “Restore” tab you pick the backup you want back. Then you click “Restore”.
The application asks first. It says what will happen: today’s state is overwritten, and the application restarts the containers. If people are anonymized in today’s state, a second question follows. It names how many and asks whether to anonymize them again after the restore. “Yes” is preselected. With “No” the backup is restored without this step. If you close the window instead, nothing is restored.
The tick “Wipe target volumes before restore” empties the volumes first. That way no file is left behind that did not exist when the backup was made.
The steps appear in the “Log” tab. There you see one by one what the application did. If you answered “Yes” to the second question, a line at the end says how many anonymizations the ticket system applies again in the nightly run. If they cannot be carried over, the log shows a warning instead. If there were warnings, the status line at the bottom of the window says how many.
If the backup contains the database, the complete state comes back. Tickets, comments, history, file attachments, logged time and the knowledge base are all there again as they were at the time of the backup.
After that the system is usable again. On a small installation this takes less than a minute.
If the backup contains the database, it comes back completely or not at all. The volumes follow after it. If a volume fails, the database is already back but files can be missing; the “Log” tab shows which step failed. In every case the application starts the containers again afterwards, even if the restore failed.
A backup from an older version can be restored into a newer one. On its next start the system brings the database up to its own version.
Consents and unsubscribes for the satisfaction survey are carried over without a question. This also applies if you answer the second question with “No”. The application reads them from the running installation before the restore. Afterwards a line in the “Log” tab gives the number, for example “12 consent and unsubscribe record(s) were carried over.” The ticket system takes them over at its first start. A consent or unsubscribe made after the backup therefore stays valid. If the transfer fails, the log shows a warning. The restore still counts as successful.
The application first checks an encrypted backup completely. Meanwhile the status line says “Checking the encrypted backup before anything is changed...”. Only then does it stop the containers. If the file is damaged or was altered, it stops and reports “The backup file is damaged. Nothing was changed.”
If the backup comes from another server, the application asks for that server’s recovery key. This happens after the questions. The window “Recovery key needed” names the key ID of the backup. The same window appears if the key of this server is missing.
A typing error is noticed before anything is changed. The status line then reports “The recovery key has a typing error. Check each character.” After that the window asks again. If the key belongs to another backup, the status line reports “This recovery key does not belong to this backup.” With “Cancel” the application stops and reports “Restore cancelled. Nothing was changed.”
The application does not adopt the key you entered. It keeps its own. New backups are still made with the key of this server. If you restore on a new server, store that server’s recovery key as well.
A backup without a database restores only the attachments, the archives and the keys. Existing keys are kept. The database stays as it is. The application says so before the restore and asks. With “No” nothing is changed.
If the installation is set to its own database, the application skips the database part even when the backup contains a database. This applies to an older backup, for example. The application asks first. With “No” nothing is changed.