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
-
Create an incremental export:
# hammer content-export incremental repository \ --format=syncable \ --name="My_Repository" \ --organization="My_Organization" \ --product="My_Product"
-
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}"