Backups
This tutorial shows you how to configure and manage backups of your data.
Backup Policy
Bunker offers several backup levels:
| Type | Frequency | Retention | Included |
|---|---|---|---|
| Automatic | Daily | 7 days | Yes |
| Manual | On demand | 30 days | Yes |
| Long term | Weekly | 1 year | Option |
Configure Automatic Backups
Via the Console
- Go to your project
- Select "Backups"
- Enable "Automatic backups"
- Configure:
- Backup time
- Retention
- Items to include
Via the API
curl -X PUT https://api.getbunker.net/v1/projects/<id>/backup \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"enabled": true,
"schedule": "0 3 * * *",
"retention_days": 14
}'
Create a Manual Backup
nuage backup create --name "before-update"
Restore a Backup
Caution
Restoration replaces current data. Make sure to backup the current state if necessary.
Via the Console
- Go to "Backups"
- Select the backup to restore
- Click on "Restore"
- Confirm the restoration
Via the CLI
nuage backup restore <backup-id>
Verify Backups
nuage backup list
nuage backup verify <backup-id>
Next Steps
Check out the Guides for advanced use cases.