
cp -ruv /mnt/import/* /var/rhn-sat-import/
7. Then unmount /mnt/import in preparation for the next CD or ISO:
umount /mnt/import
8. Repeat these steps for each Channel Content ISO of every channel to be imported.
2.2.2. Preparing RHN Satellite Exporter Data
In order to perform the import from data previously exported using RHN Satellite Exporter, you
must first copy that data onto the local system. Steps such as the following will enable you to
procede to running the import as described in Section 2.3, “Running the Import”.
1. Log into the machine as root.
2. Create a target directory for the files, such as:
mkdir /var/rhn-sat-import/
3. Make the export data available on the local machine in the directory created in the previous
step. This can be done by copying the data directly, or by mounting the data from another
machine using NFS. It is perhaps easiest to copy the data into the new directory with a
command such as the following:
Now that the data is available, you can procede to performing the import.
2.3. Running the Import
The rhns-satellite-tools package provides the satellite-sync program for managing all
package, channel, and errata imports and synchronizations.
The following process assumes in the previous step the user has copied all data to
/var/rhn-sat-import.
The first step in importing channels into the database is listing the channels available for import.
This is accomplished with the command:
Chapter 6. Importing and Synchronizing
46
Komentarze do niniejszej Instrukcji