Backend service for Signifly's DatoCMS Automatic Backups Plugin.
| Variable | Required | Description |
|---|---|---|
CRON_SECRET |
Yes | Secret for cron endpoint authentication |
API_SECRET |
No | Secret for API endpoint authentication |
ENCRYPTION_KEY |
No | 64 hex chars for encrypting stored tokens |
To update to the latest version:
npm update @signifly/datocms-backup-apiOr enable Dependabot for automatic update PRs.
| Endpoint | Method | Description |
|---|---|---|
/api/health |
GET | Health check |
/api/config |
GET, PUT, DELETE | Configuration management |
/api/backup/trigger |
POST | Trigger manual backup |
/api/backup/history |
GET | Get backup history |
/api/cron/backup |
GET | Cron endpoint (Vercel cron only) |
MIT - Signifly