mirror snapshot list

Snapshot listing.

mirrorsarray of object

Per-mirror snapshot listings, sorted by mirror id.

mirror snapshot list: entries of mirrors

Snapshots of one mirror.

idstring

Mirror name.

latest-symlinkobject, optional

The latest-snapshot symlink, if the mirror maintains one that points at a snapshot.

namesarray of object

Assigned names, sorted by name.

snapshotsarray of string

Snapshots, oldest first.

mirror snapshot list: entries of names

A name pinned to a snapshot.

namestring

Snapshot name.

snapshotstring

Mirror snapshot timestamp in UTC, like 2025-03-05T14:30:45Z.

mirror snapshot list: latest-symlink

The latest-snapshot symlink, if the mirror maintains one that points at a snapshot.

namestring

Name of the latest-snapshot symlink.

snapshotstring

Mirror snapshot timestamp in UTC, like 2025-03-05T14:30:45Z.

mirror snapshot remove

Summary of a snapshot removal.

cleanup-errorsarray of string, optional

Cleanup errors for a removed snapshot, such as failures to update the latest symlink or delete remaining files. Omitted if cleanup succeeded.

latest-symlinkstring, optional

New target of the latest symlink, if the removal moved it.

latest-symlink-removedboolean, optional

Whether the latest symlink was removed because no older snapshot remains.

removed-namesarray of string

Snapshot names (pinned symlinks) removed together with their target snapshot.

snapshotstring

Mirror snapshot timestamp in UTC, like 2025-03-05T14:30:45Z.

mirror snapshot prune and prune-all

Prune summary. When garbage collection is requested, gc reports its outcome, including failures. Dry runs omit gc.

dry-runboolean

Whether this was a dry run, in which case nothing was removed.

errorsinteger

Number of failed snapshot removals and failed cleanup steps, plus one for every mirror that could not be pruned at all. Garbage collection failures are counted in gc.errors.

gcobject, optional

Garbage collection summary.

keptinteger

Total number of snapshots selected for retention.

mirrorsarray of object

Per-mirror prune summaries, sorted by mirror id.

removedinteger

Total number of removed snapshots, or snapshots a dry run would remove.

mirror snapshot prune: entries of mirrors

Prune summary of one mirror.

idstring

Mirror name.

keptinteger

Number of snapshots selected for retention.

removedinteger

Number of removed snapshots, or snapshots a dry run would remove. Removals with cleanup errors still count toward this total; see cleanup-errors.

snapshotsarray of object

Per-snapshot prune decisions, newest first.

mirror snapshot prune: entries of snapshots

What pruning decided for a single snapshot.

cleanup-errorsarray of string, optional

Cleanup errors for a removed snapshot, such as failures to update the latest symlink or delete remaining files. Omitted if cleanup succeeded.

errorstring, optional

Why a snapshot selected for removal could not be removed.

keepboolean

Whether the snapshot was selected for retention rather than removal.

namesarray of string

Names pinned to the snapshot, sorted.

reasonstring, optional

Reason for retaining the snapshot: named, latest-symlink, keep-last, keep-hourly, keep-daily, keep-weekly, keep-monthly, or keep-yearly. Omitted if the snapshot was selected for removal.

snapshotstring

Mirror snapshot timestamp in UTC, like 2025-03-05T14:30:45Z.

mirror gc

Garbage collection summary.

errorsinteger

Number of pools whose garbage collection failed.

mirrorsarray of object

Per-mirror summaries; a pool shared by multiple mirrors is collected and listed once.

removed-bytesinteger

Total size of the removed pool files in bytes.

removed-filesinteger

Total number of removed pool files.

mirror gc: entries of mirrors

Garbage collection summary of one mirror's pool.

idstring

Mirror name.

removed-bytesinteger

Total size of the removed pool files in bytes.

removed-filesinteger

Number of removed pool files.

mirror verify

Pool verification summary.

bytesinteger

Total size of the checked pool files in bytes.

errorsinteger

Number of pools that could not be verified.

failedinteger

Total number of pool files that failed verification.

poolsarray of object

Per-pool summaries; a pool shared by multiple mirrors is verified and listed once.

verifiedinteger

Total number of pool files that passed verification.

mirror verify: entries of pools

Verification summary of one mirror's pool.

base-dirstring

Base directory of the verified pool.

bytesinteger

Total size of the checked pool files in bytes.

failedinteger

Number of pool files that failed verification.

idstring

Mirror name.

verifiedinteger

Number of pool files that passed verification.

mirror snapshot diff

File-level differences between two snapshots.

addedarray of object

Files only present in the newer snapshot, sorted by path.

changedarray of object

Files in both snapshots whose content differs, sorted by path.

removedarray of object

Files only present in the older snapshot, sorted by path.

mirror snapshot diff: entries of added and removed

A stored file present in only one of two snapshots.

pathstring

Path relative to the snapshot directory.

sizeinteger

File size in bytes.

mirror snapshot diff: entries of changed

A stored file present in both snapshots, but with differing content.

Only the size difference is reported: the diff compares stored files by inode, so a changed file of the same size, like a re-signed Release file, reports a difference of zero.

pathstring

Path relative to the snapshot directory.

size-differenceinteger

Absolute difference between the two file sizes, in bytes.

mirror snapshot diff --packages

Package-level differences between two snapshots, by package kind.

binaryobject

Package-level differences between two snapshots, each list sorted by name.

sourceobject

Package-level differences between two snapshots, each list sorted by name.

mirror snapshot diff --packages: binary and source

Package-level differences between two snapshots, each list sorted by name.

addedarray of object

Packages only present in the newer snapshot, sorted by name.

changedarray of object

Packages present in both snapshots with different versions, sorted by name.

removedarray of object

Packages only present in the older snapshot, sorted by name.

mirror snapshot diff --packages: package list entries

A single package (binary or source) that differs between two snapshots.

namestring

Package identity: <name>:<arch> for binary packages, the plain name for source packages.

new-versionsarray of string

Versions in the newer snapshot. Empty if the package was removed.

old-versionsarray of string

Versions in the older snapshot. Empty if the package was added.