CLI reference
jekyo backup
Back up and restore volumes (restic to any S3-compatible storage).
Usage
jekyo backup [command]
Examples
# One-time: point the cluster at any S3-compatible bucket
jekyo backup config --endpoint s3.example.com --bucket backups \
--access-key ... --secret-key ...
jekyo backup now myapp/pgdata
jekyo backup ls myapp/pgdata
jekyo backup restore myapp/pgdata # stops the app, restores, restarts
jekyo backup config
Stores the backup target and an encryption password in the cluster. Every.
jekyo backup config [flags]
volume with a backup: schedule uses it. Works with AWS S3, Cloudflare R2, Backblaze B2, MinIO, or any S3-compatible storage, or with --local, a directory on the server itself (/var/lib/jekyo/backups). Mount a dedicated disk there; a backup on the disk that dies with the data protects against mistakes, not hardware.
| Flag | Description |
|---|---|
--access-key string | S3 access key |
--bucket string | bucket name (must exist) |
--endpoint string | S3 endpoint, e.g. https://s3.eu-central-1.amazonaws.com or http://minio.example.com:9000 |
--local | store backups on the server at /var/lib/jekyo/backups |
--secret-key string | S3 secret key |
jekyo backup ls
List snapshots for a volume.
jekyo backup ls <app>/<volume> [flags]
jekyo backup now
Take a backup immediately.
jekyo backup now <app>/<volume> [flags]
jekyo backup restore
Restore a volume from a snapshot (stops the app during restore).
jekyo backup restore <app>/<volume> [snapshot] [flags]