How to export repository from Satellite to ISO image

Solution Verified - Updated

Environment

Satellite 6.9 and below

Issue

Export repository from Satellite to ISO image

Resolution

List the existing repositories

# hammer repository list

Select necessary with export to ISO using the corresponding ID

# hammer repository export --id xxx --export-to-iso 1

The export file will be created in /var/lib/pulp/katello-export/ directory.

For more KB articles/solutions related to Red Hat Satellite 6.x Repository Issues, please refer to the Red Hat Satellite Consolidated Troubleshooting Article for Red Hat Satellite 6.x Repository Issues.

Root Cause

Repository export might be a need in offline Satellite content sync.

Diagnostic Steps

This method will work only for offline repositories, and on-demand repositories cannot be exported.
Download Policy can be checked using the following command.

# hammer repository info --id xxx
SBR
Product(s)
Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.