Skip to content

Backup and restore RabbitMQ services

Backup and restore is an essential feature to guarantee the SLA of your service. STACKIT’s RabbitMQ offers backup and restore capabilities to help you achieving this goal. These are the features of the backup and restore capabilities:

  • Backup and in-place-restore of your instances
  • Automated scheduled backups every 4 hours
  • Create manual backups
  • Download your backups
  • backup retention for 14 days
  • All settings are accessible by the Portal, the CLI, Cloud Foundry and Terraform

STACKIT’s RabbitMQ automatically creates a backup every 4 hours. This backups are held for 14 days. If you want a longer backup history, you need to download the created backups.

You don’t pay for the backup itself, but for the storage the generated backup files reserve. The storage size depends on your backup settings and of the accumulated instance databases size. At the moment you need to estimate the storage need by yourself.

You can get an overview of all existing backups.

You can view all backups by navigating to the Backups tab at the service dashboard of your instance.

  1. Open your project in the STACKIT Portal

  2. Navigate to Messaging > RabbitMQ

  3. Select your RabbitMQ instance and go to Overview

  4. On the pane on the left select Backups

  5. You see a list of all backups with their properties:

    ID, Start time, End time, Backup size, Backup status, Restore created at

    If you created an encryption key prior to the start time of a backup, you are able to download it via the thre dots menu on the right of the entry.

You can create an encryption key to be able to download your backups.

To create an encryption key follow the steps below. You need to store the key in a safe place.

  1. Open your project in the STACKIT Portal
  2. Navigate to Messaging > RabbitMQ
  3. Select your RabbitMQ instance and go to Overview
  4. On the pane on the left click on Backups
  5. On the top bar click on Create encryption key
  6. Enter an encryption key with a minimum length of 8 characters and click on Create

You can trigger a manual backup every time.

You can trigger a manual backup in the backup overview pane.

  1. Open your project in the STACKIT Portal
  2. Navigate to Messaging > RabbitMQ
  3. Select your RabbitMQ instance and go to Backups
  4. Click on Create manual backup
  5. In the popup click on create
  6. Wait until the status of the backup becomes Done

You can trigger a manual backup every time.

You can download a backup in the backup overview pane.

  1. Open your project in the STACKIT Portal
  2. Navigate to Messaging > RabbitMQ
  3. Select your RabbitMQ instance and go to Backups
  4. Choose a backup to download and click on the three-dots-menu
  5. Click on Download If there is no Download option, then the backup was created without encryption. Always Create an encryption key before inserting important data into your instance.
  6. Wait until the download finishes

You can restore a specific backup to the same instance. To restore your backup to a new instance, you need to download the backup and restore it manually after creating a new instance.

You can do a restore by navigating to the Backups tab at the service dashboard of your instance and using the restore button.

  1. Open your project in the STACKIT Portal
  2. Navigate to Databases > RabbitMQ
  3. Select your RabbitMQ instance and go to Backups
  4. Click on the three dots menu of the right side of your desired backup you plan to restore
  5. Click on Restore
  6. On the popup, read the warning that all data in your instance gets overwritten
  7. If this is ok, click on Restore