Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 1.05 KB

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

File metadata and controls

28 lines (24 loc) · 1.05 KB

Exporting a Repository Incrementally in a Syncable Format

Exporting a repository can be a very costly operation in terms of system resources. A typical {RHEL} tree may occupy several gigabytes of space on {ProjectServer}.

In such cases, you can use Incremental Export to export only pieces of content that changed since the previous export. Incremental exports typically result in smaller archive files than full exports.

The procedure below shows an incremental export of a repository in the Library lifecycle environment.

Procedure
  1. Create an incremental export:

    # hammer content-export incremental repository \
    --format=syncable \
    --name="My_Repository" \
    --organization="My_Organization" \
    --product="My_Product"
  2. Optional: View the exported data:

    # find /var/lib/pulp/exports/Default_Organization/My_Product/2.0/2023-03-09T10-55-48-05-00/ -name "*.{client-pkg-ext}"