Skip to main content
Version: 4.41

How to backup and restore Redtrust

Overview

This guide explains how to back up and restore Redtrust. This process is useful to prevent data loss as well as for testing and migration purposes, and it is intended for IT administrators. This guide assumes you have a basic understanding of Redtrust.

Background

Redtrust allows administrators to create and restore backups of a unit to prevent data loss and support maintenance operations such as migration, recovery, or testing.

Backups can be generated through different interfaces provided by Redtrust:

  • The admin console, which allows administrators to create and restore backups through the graphical interface.
  • Direct HTTP request, which can be executed from the command line using tools such as Wget or PowerShell.
  • The BackupRequester, a command-line utility distributed with Redtrust.

These methods ultimately interact with the same backup functionality exposed by the Redtrust server, allowing administrators to choose the approach that best fits their operational or automation needs.

Step 1: Backup

There are different ways to back up a system, choose the one that better suits your needs.

To obtain a backup of the unit using the admin console:

  1. Access Redtrust admin console.
  2. Go to System > Unit > Backup.
  3. Click the Backup button. The file should be downloaded right after.

Step 2: Restore from a backup

In order to restore a backup of the unit:

  1. Access the Redtrust admin console.
  2. Go to System > Unit > Backup.
  3. Click the Recovery file field.
  4. In the dialog box, select the backup you want to restore and click Open.
  5. Select Restore and Confirm. Add the password when prompted and then click Send.

The restoration process may take a few minutes. Once it is finished, you will see a green notification and you will be required to restart your session with your credentials.

Verification

You can verify the process using the command line.

To verify the backup file via the command line, you can use any program that allows you to upload the file to the unit. For example, with cURL, the request should follow this format:

curl --form upload=@BACKUP_FILE.bak --insecure https://REDTRUST_IP/System/CheckBackup 

If the backup file sent is correct, the answer is OK.

warning

The service has a limitation to one request per minute.

A list of errors can be found in the System documentation.