Chapter 3. Planning for Disaster Recovery
3.1. Backing up a Red Hat Satellite Server
Red Hat recommends that you back up at least the following files and directories:
/opt/rh/postgresql92/root/var/lib/pgsql/(Embedded database only)
/var/satellite/redhat/[0-9]*/(This is the location of any custom RPMs)
/var/lib/tftpboot/(In Red Hat Enterprise Linux 6)
/var/satellite/as well. In case of failure, this will save lengthy download times. The
/var/satellite/redhat/NULL/) is primarily a duplicate of Red Hat's RPM repository, and can be regenerated using the
satellite-synccommand. Red Hat recommends that the entire
/var/satellite/tree be backed up. In the case of disconnected satellites,
/var/satellite/must be backed up.
- Reinstall the Red Hat Satellite ISO RPMs.
- Reregister the server.
- Use the
satellite-synccommand to resynchronize Red Hat packages.
- Reinstall the
Another method is to back up all of the files and directories mentioned above but reinstall the Satellite server without reregistering it. During the installation, cancel or skip the Red Hat Network registration and SSL certificate generation sections.
The final and most comprehensive method is to back up the entire machine. This saves download and reinstallation time but requires additional disk space and back-up time.
rhn-searchservice is started:
# service rhn-search cleanindex