Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 1.21 KB

proc_exporting-the-library-environment-in-a-syncable-format.adoc

File metadata and controls

28 lines (24 loc) · 1.21 KB

Exporting the Library Environment in a Syncable Format

You can export contents of all yum repositories, Kickstart repositories and file repositories in the Library environment of an organization to a syncable format that you can use to create your custom CDN and synchronize the content from the custom CDN over HTTP/HTTPS.

Prerequisites
  • Ensure that you set the download policy to Immediate for all repositories within the Library lifecycle environment you export. For more information, see [Download_Policies_Overview_{context}].

  • Ensure that you synchronize products you export to the required date.

  • Ensure that the user exporting the content has the Content Exporter role.

Procedure
  1. Use the organization name or ID to export:

    # hammer content-export complete library \
    --organization="My_Organization" \
    --format=syncable
  2. Optional: Verify that the exported content is located in the export directory:

    # du -sh /var/lib/pulp/exports/My_Organization/Export-My_Repository/1.0/2021-03-02T03-35-24-00-00