The Ploi CLI covers servers, sites, cronjobs, daemons, databases and logs, but has no commands for database backups. After migrating a site to a new server, I can verify the site, its cronjob and its deploy from the CLI, but to check that the database backup is configured and actually running I have to open the panel.
Proposed commands, read-only first:
- backup:list [--server=] [--site=]: list database backup configurations with ID, database(s), destination (S3, Dropbox, ...), frequency, retention and status (active/paused).
- backup:show
- backup:runs
Nice to have, as write actions:
- backup:run
- backup:toggle
Why this matters:
- Verifying backups is part of every server migration or upgrade checklist, and it is the one step that still needs the panel.
- We use the CLI with a read-only API token for automated checks maintenance. Read-only backup commands would let us confirm that backups exist and succeed without handing out a token with write access.
- Database backups seem to be available in the Ploi API already, so this would mainly mean exposing them in the CLI.
-
Robin Dirksen moved item to project CLI
2 hours ago -
Robin Dirksen created the item
2 hours ago