Overview
Rivestack HA clusters include automated daily backups stored in S3-compatible object storage. Backups use pgBackRest, the industry-standard backup tool for PostgreSQL, with support for full backups and point-in-time recovery (PITR).Automated backups are available on HA clusters only. Free tier databases do not include backups.
How backups work
- Backup tool: pgBackRest
- Storage: S3-compatible object storage (off-site, separate from your database nodes)
- Backup type: Full backups
- WAL archiving: Continuous WAL (Write-Ahead Log) archiving for point-in-time recovery
- Encryption: Backups are encrypted at rest in S3
Automated schedule
By default, backups run daily at 3:00 AM UTC. You can customize the schedule from the dashboard.View backup schedule
- Navigate to your HA cluster in the dashboard.
- Open the Backup tab.
- The current schedule is shown at the top.
Change backup schedule
- Open the Backup tab of your cluster.
- Click on the backup schedule configuration.
- Set your preferred cron schedule.
- Save changes.
Retention
| Setting | Default |
|---|---|
| Full backup retention | 14 days |
Manual backups
You can trigger a backup at any time:- Navigate to your cluster’s Backup tab.
- Click Create Backup.
- The backup starts immediately. You can monitor progress in real time.
- Backup name and type
- Size (in MB)
- Status (running, success, failed)
- Timestamp
Restore
Rivestack supports three restore methods:Restore from latest backup
Restores your cluster to the most recent successful backup.- Open the Backup tab.
- Click the restore icon on the desired backup.
- Select Latest as the restore type.
- Type “I confirm” to proceed.
- Click Restore.
Point-in-time recovery (PITR)
Restore your cluster to any specific moment within your backup retention window. This is useful for recovering from accidental data deletion or corruption.- Open the Backup tab.
- Click the restore icon.
- Select PITR as the restore type.
- Choose the target date and time (UTC).
- Type “I confirm” to proceed.
- Click Restore.
Restore from a specific backup
Choose a specific backup from your history to restore from.- Open the Backup tab.
- Click the restore icon.
- Select Specific backup as the restore type.
- Choose the backup from the dropdown.
- Type “I confirm” to proceed.
- Click Restore.
What to expect during a restore
- The restore runs as a background job. You can monitor progress in real time on the dashboard.
- Your cluster will show a Restoring status during the operation.
- Existing data on the cluster will be replaced with the restored data.
- Connections may be briefly interrupted during the restore.
- You’ll receive an email notification when the restore completes.
Restore history
View all past restore operations in the Backup tab. Each record shows:- Source backup
- Restore type (latest, PITR, specific)
- Status (success, failed, running)
- Start and finish timestamps
- Error details (if failed)