Chapter 6. Importing and Synchronizing
6.1. Exporting with RHN Satellite Exporter
rhn-satellite-exporter) tool exports Satellite content in an XML format that can then be imported into another identical Satellite. The content is exported into a directory specified by the user with the -d option. Once that directory has been transported to another Satellite, the RHN Satellite Synchronization Tool may be used to import the contents, synchronizing two Satellites.
- Channel Families
- Channel metadata
- RPM metadata
rhn-satellite-exporterto export data is dependent on the number and size of the channels being exported. Using the
--no-rpmsoptions reduces the amount of time required for
rhn-satellite-exporterto run, but also prevents potentially useful information from being exported. For that reason, these options should only be used when you are certain that you will not need the content that they exclude. Additionally, you must use the matching options for
satellite-syncwhen importing the data. For example, if you use
rhn-satellite-exporteryou must specify the
--no-kickstartsoption when importing the data.
Table 6.1. RHN Satellite Exporter Options
| ||Place the exported information into this directory.|
| ||Process data for this specific channel (specified by label) only. NOTE: the channel's *label* is NOT the same as the channel's *name*.|
| ||List all available channels and exit.|
| ||List all of the steps that rhn-satellite-exporter takes while exporting data. These can be used as values for --step.|
| ||Print the configuration and exit.|
| ||Print a report to the terminal when the export is complete.|
| ||Do not retrieve actual RPMs.|
| ||Do not export RPM metadata.|
| ||Do not process Errata information.|
| ||Do not process kickstart data (provisioning only).|
| || Override the amount of messaging sent to log files and generated on the screen set in |
| ||Email a report of what was exported and what errors may have occurred.|
| ||Alternative email address for --email.|
| ||Include alternate database connect string: username/password@SID.|
- The RHN Satellite Server installation must have been performed successfully.
- There must be sufficient disk space in the directory specified in the
--diroption to contain the exported contents.
18.104.22.168. Running the Export
rhn-satellite-exporter”. Finally, execute the command as root. The following is an example command:
rhn-satellite-exporter --dir=/var/rhn-sat-export --no-errata