3.2.2. Performing Offline Database Backups
18.104.22.168. Performing an Offline Backup
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.