Repositories
A repository is storage the operator registers for backups. A chunk repository keeps deduplicated, compressed backups in an S3 bucket, a Ceph pool or a filesystem, encrypted unless a plan opts out. An rbd tier, the instant tier, also keeps recent backups as Ceph images for cloning new volumes and servers. This group also covers health, usage, dedup domain keys and backup workers.
📄️ List backup workers
The data workers at this site that carry out backups and restores, with their version, capacity, running jobs, last heartbeat and whether they are alive. A worker that cannot reach a repository is sent no work for it.
📄️ List repositories
Operator only: needs a system-scoped token.
📄️ Register a repository
Registers backup storage: a chunk repository through the `s3`, `rados` or `posix` driver, or an rbd tier whose Ceph images new volumes and servers are cloned from. Access keys are sealed and never returned. Object lock is `s3` only, and the chunk size is fixed for life. Warnings name what the service cannot check. An unlistable repository at another site is refused with `repository_unreadable`.
📄️ Deregister a repository
Removes the registration and leaves the stored data where it is. Refused while a plan is placed on the repository, or while it still holds data under object lock.
📄️ Show a repository
Operator only: needs a system-scoped token.
📄️ Change a repository
Changes the endpoint, region, credentials, reachable sites or object lock. Credentials are replaced as a pair. Where data lives, such as the bucket, pool or chunk size, cannot change. After an object lock's grace period, its mode and granularity are fixed and its retention bounds only rise. A change that leaves a policy or vault unable to keep its terms is refused with conflict.
📄️ List a repository's domain keys
Each dedup domain in the repository with its key's fingerprint, never the key itself. Comparing fingerprints confirms another cloud holds the same key before a restore there needs it. A key this cloud cannot unwrap is reported as unreadable, with the reason.
📄️ Export a domain key
Wraps one dedup domain's key under a passphrase, for another cloud to import and read the backups. Every export is audited. The passphrase is never stored or returned. Send it separately from the envelope.
📄️ Import a domain key
Installs a key exported from another cloud, wrapped under this cloud's key manager. The repository is this cloud's registration of the key's storage. The key must open what the dedup domain holds there, or in an empty domain, its key marker must name the exporting repository and cloud. A domain keeps one key for life: the same key again changes nothing, and another is refused with conflict.
📄️ Show a repository's usage
Physical size, what each project references, the saving that deduplication across projects brings, data held under lock and when it is released, and the state of cleanup. A figure with no measurement yet is listed under `unavailable` with the reason.
📄️ Show repository health
What the last check of each repository at this site found, and the overall verdict.