The RHN Satellite Exporter can export the following content:
Channel Families
Architectures
Channel metadata
Blacklists
RPMs
RPM metadata
Errata
Kickstarts
The amount of time it takes rhn-satellite-exporter
to export data is dependent on the number and size of the channels being exported. Using the --no-packages
, --no-kickstarts
, --no-errata
, and --no-rpms
options reduces the amount of time required for rhn-satellite-exporter
to 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-sync
when importing the data. For example, if you use --no-kickstarts
with rhn-satellite-exporter
you must specify the --no-kickstarts
option when importing the data.
When exporting an RHN base channel, you must also export the tools channel associated with that base channel in order to kickstart machines to the distribution in the base channel. For instance, if you export rhel-i386-as-4 you must also export the rhn-tools-rhel-4-as-i386 channel in order to kickstart machines to Red Hat Enterprise Linux 4 AS. This is because the tools channels contain the auto-kickstart packages that install packages for kickstarting a machine through the Satellite.
The RHN Satellite Exporter offers several command line options. To use them, insert the option and appropriate value after the rhn-satellite-exporter
command.
Option | Description |
---|---|
-d, --dir=
|
Place the exported information into this directory. |
-c , --channel=
|
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-channels
|
List all available channels and exit. |
--list-steps
|
List all of the steps that rhn-satellite-exporter takes while exporting data. These can be used as values for --step. |
-p --print-configuration
|
Print the configuration and exit. |
--print-report
|
Print a report to the terminal when the export is complete. |
--no-rpms
|
Do not retrieve actual RPMs. |
--no-packages
|
Do not export RPM metadata. |
--no-errata
|
Do not process Errata information. |
--no-kickstarts
|
Do not process kickstart data (provisioning only). |
--debug-level=
|
Override the amount of messaging sent to log files and generated on the screen set in /etc/rhn/rhn.conf , 0-6 (2 is default).
|
--email
|
Email a report of what was exported and what errors may have occurred. |
--traceback-mail
|
Alternative email address for --email. |
--db=
|
Include alternate database connect string: username/password@SID. |
Table 6.1. RHN Satellite Exporter Options