[5.19.1] — 2026-11-28
Backups start on the server; S3 buckets and SFTP servers are added on a par. cipi backup configure no longer asks for "the default bucket": it sets backups up on this server — the local folder and a nightly profile — and then offers to send them to an S3 bucket and/or an SFTP server too. The panel works the same way (cipi/api 1.49.0, cipi/gui 4.11.0). Every change of where archives go is notified.
Changed
cipi backup configuresets up backups on this server: the local folder, the temp folder, and the nightly profiledefault— every app and every database, kept here. At a terminal it then asks Send the backups somewhere else too? — an S3 bucket, an SFTP server, as many as wanted — and sends the nightly profile there as well. Without a terminal it asks nothing and sets up the defaults (what the panel runs). 5.19.0's flags still work:--local-onlyis the same as nothing, and--bucket= --key= --secret-stdin …make the S3 destination nameds3— with the nightly profile sent there too on a first setup. At a terminal the secret key is no longer shown as it is typed.- S3 buckets and SFTP servers are destinations on a par: each with a name and its own credentials. The bucket that configure used to set is the destination
s3, edited, tested and removed like any other (cipi backup destination edit|remove s3; removal only when no profile uses it) — a server configured before carries on unchanged. A new bucket can be nameds3. That bucket now uses its own keys from the backup configuration, like the others, instead of the/root/.awsprofile; nothing is written to/root/.awsany more. cipi backup status --json: no destination isdefaultany more.
Added
--use=<profile>[,<profile>]oncipi backup destination add|edit: send these profiles there too.- A new trigger,
backup_config(Security): every change of where archives go — the setup, a destination added, changed or removed, the encryption key rotated — is notified, with who did it ("the panel" forwww-data). A panel token that can manage backups can point them at a bucket or a server of its choosing: the owner hears of it.
[5.19.0] — 2026-11-28
Backups are set up and managed from the panel too (cipi/api 1.49.0, cipi/gui 4.11.0, cipi-cli and the PHP SDK): the default bucket or local copies only, S3 buckets and SFTP servers, the encryption key, the retention — next to the profiles and runs it already had. A secret key goes on standard input, never on a command line. And cipi help backup says it in order.
Added
cipi backup configuretakes flags —--bucket= --key= --secret=|--secret-stdin [--region=] [--endpoint=], or--local-only— for a script and for the panel; it still asks at a terminal. What is not given keeps its value. The bucket is reached with the keys before anything is saved: a wrong key changes nothing (before, the configuration was written first, and a failed test left it there). Without a terminal and without flags it says what to give, instead of stopping at the first question.--secret-stdinforbackup configureandbackup destination add|edit: the secret key from the first line of standard input — not inps, the shell's history or a log. From the panel (www-data) it is the only way:--secret=is refused there.- The panel manages destinations:
backup destination add|edit|removefor S3 buckets as well as SFTP servers (--jsonanswers the destination, never its keys).backup configurefrom the panel cannot set the local or temp folder — root creates the local one and makes it 0700, and a path from the panel could be any directory. cipi backup key show --raw: the key and nothing else, for the panel to show once. Every show is logged and notified (credentials_show), with who asked.- The panel's sudoers:
backup configure *,backup destination add|edit|remove *,backup key show --raw,backup key rotate,backup prune [*]. Still notbackup fetch.
Changed
cipi help backup: one list of destination commands — list, add, edit, show, test, key, remove — with the flags of an S3 bucket and of an SFTP server under it, and the runs and the key in a list of their own.cipi backup sftp …(what cipi/api 1.48 runs) still works and is no longer shown.cipi self-update policy --verify=onsays that signed releases are not available yet — Cipi releases are not signed at the moment — and points at the delay; nothing changes.--jsonhassigned_releases(false until a release ships a signer), for the panel.
Fixed
- A key or a secret with a line break could add a setting to
/root/.aws/credentials(cipi backup configure, at the shell): they are now printable characters with no space and no quote, and bucket, region and endpoint are checked as for named destinations. - The release signers were miscounted in a file with no key (
grep -cprinted0twice):--verify=onthen compared a fingerprint with an empty list instead of saying there was none. - Tests: the vault stand-in of the test suites wrote in place while the same pipeline read it — the intermittent failures of the SFTP checks. It writes next to the file and renames, as the vault does.