Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 1.05 KB

proc_exporting-a-repository-in-a-syncable-format.adoc

File metadata and controls

28 lines (24 loc) · 1.05 KB

Exporting a Repository in a Syncable Format

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
  1. 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
  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