Skip to main content

Backups

This tutorial shows you how to configure and manage backups of your data.

Backup Policy

Bunker offers several backup levels:

TypeFrequencyRetentionIncluded
AutomaticDaily7 daysYes
ManualOn demand30 daysYes
Long termWeekly1 yearOption

Configure Automatic Backups

Via the Console

  1. Go to your project
  2. Select "Backups"
  3. Enable "Automatic backups"
  4. 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

  1. Go to "Backups"
  2. Select the backup to restore
  3. Click on "Restore"
  4. 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.