Show Table of Contents
3.2.2. Performing Offline Database Backups
Red Hat Satellite Server 5 provides the ability to perform online backup and restore operations. Red Hat recommends that you continue to perform offline backups during monthly or quarterly maintenance windows.
126.96.36.199. Performing an Offline Backup
The following procedure describes how to back up an embedded Red Hat Satellite server database.
Procedure 3.2. To Create an Offline Backup:
- Change to the root user, and run the following command to stop the Satellite server:
# rhn-satellite stop
- Run the following command to create the backup:
backup DIRECTORYReplace DIRECTORY with the absolute path to the location where you want to store your database backup. This process will take several minutes.
- When the backup is complete, run the following command to restart the Satellite server:
# rhn-satellite start
- Copy the backup to another system using rsync or another file-transfer utility. Red Hat strongly recommends scheduling the backup process automatically using cron jobs. For instance, back up the system at 03:00 and then copy the backup to the separate repository (partition, disk, or system) at 06:00.