Link Backups
A Set backup is a JSON snapshot of your links stored in R2 (Cloudflare file storage). It is not a full database dump.
Requirements
- Bind R2
- Complete multitenant provisioning and select an active workspace.
- Create a snapshot from the dashboard or
POST /api/backup
Automatic daily backups need Workers cron (this repo: 00:00 UTC). Turn off with NUXT_DISABLE_AUTO_BACKUP=true. Pages supports manual snapshots only.
File names:
- Automatic:
backups/links-<timestamp>.json - Manual:
backups/manual-links-<timestamp>.json
What is inside
All link records in D1, including expired ones and password material. Treat every snapshot as secret.
Snapshots are sensitive
Limit who can read the R2 bucket. Snapshots may include password material and full destination URLs.
Not included: database schema, delete markers, migration history, analytics data.
Restore limits
Set does not auto-delete old snapshots or offer one-click full restore. You can import records from a snapshot (with normal import rules). For database-level recovery, see Cloudflare D1 Time Travel.