You can export the content of a repository 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.
Prerequisite
-
Ensure that you set the download policy to Immediate for the repository within the Library lifecycle environment you export. For more information, see [Download_Policies_Overview_{context}].
Procedure
-
Export a repository using the repository name or ID:
# hammer content-export complete repository \ --organization="My_Organization" \ --product="My_Product" \ --name="My_Repository" \ --format=syncable
-
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