18.2. Restoring Red Hat Satellite Server from a Backup

This section describes how to fully restore a Red Hat Satellite Server from the backup data created as a result of following the steps in Section 18.1, “Backing up Red Hat Satellite Server”. This process restores the backup on the same server that generated the backup. If the original system is unavailable, provision the same configuration with the same settings (host name, IP address, and so on).

Important

The following process describes a full Red Hat Satellite restoration. This process deletes all data from the target Satellite instance. Ensure that you address the following conditions:
  • You are restoring to the correct instance. The Red Hat Satellite instance must have the same configuration, package versions and errata as the original system.
  • All commands are executed as root in the directory where the archives were created during the backup process.
  • All SELinux contexts are correct. Run the following command to restore the correct SELinux contexts:
    # restorecon -Rnv /
    

Procedure 18.2. To Restore Red Hat Satellite from Backup:

  1. Install Satellite 6 using the procedures in the Red Hat Satellite 6 Installation Guide[6].
  2. Copy the backup data to the Satellite's local file system, for example, /var/tmp/satellite-backup/. Ensure you have enough space to store this data on the Satellite server as well as enough space after the restoration to contain all the data in the /etc/ and /var/ directories contained within the backup.
  3. Run the restoration script:
    # /usr/bin/katello-restore backup_directory
    This process can take a long time to complete, due to the amount of data to copy.
When this process completes, all services should be running and the Satellite Server should be available for use.


[6] https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/6.1/html-single/Installation_Guide/index.html