Actions
Feature #30003
closedAs a user, i can export a content view version and only get the ‘diff’ of the content view version (incremental export).
Status:
Closed
Priority:
Normal
Assignee:
Category:
Inter Server Sync
Target version:
Description
As a user, i can export a content view version and only get the ‘diff’ of the content view version (incremental export).
hammer content-view export --name=foo --version=2.0 --disconnected-server-name=disconnected.example.com --from-history-event=1 --incremental
- Pre Checks - Incremental can happen only if
- If all the repositories from the previous version can be incrementally exported.
- Filtered to Filtered and Non Filtered to filtered.
- Identify the exporter associated to the version in the from-history-event value.
- Ask pulp to generate an incremental export for the exporter
- Pulp exports the repository versions to a file
- CV Name,
- Version
- Repositories belonging to this version
- Names and Checksums of the exported files
Make an entry in the ContentViewExportHistory along the lines of
ID | server name | content view | version | Date | Description ======================================================== 2 | disconnected.example.com || foo | 2.0 | 01/01/2020 | None
- Verify the full export
- Verify filtered non composite
- Verify composite
Actions