Overview
Nurosentrix provides comprehensive backup capabilities for your Odoo instances, including the database and filestore. Backups can be stored in various cloud storage providers.
Backup Contents
Each backup includes:
- PostgreSQL Database - Complete database dump
- Filestore - All uploaded files and attachments
- Configuration - Odoo configuration files
Storage Providers
Nurosentrix supports these backup storage destinations:
| Provider | Description |
|---|---|
| Amazon S3 | AWS S3 or S3-compatible storage |
| Google Cloud Storage | GCS buckets |
| Azure Blob Storage | Azure storage containers |
| Local | Server local storage (not recommended for production) |
Backups are accessible from each instance and from the global Backups menu for cross-instance management.
Configuring Storage
Amazon S3
- Create an S3 bucket in your AWS account
- Create an IAM user with S3 access
- In Nurosentrix, go to Settings → Storage
- Click "Add Storage" and select "Amazon S3"
- Enter your credentials:
- Access Key ID
- Secret Access Key
- Bucket Name
- Region
- Click "Connect"
Google Cloud Storage
- Create a GCS bucket in your Google Cloud project
- Create a service account with Storage Admin role
- Download the JSON key file
- In Nurosentrix, go to Settings → Storage
- Click "Add Storage" and select "Google Cloud Storage"
- Upload your service account JSON file
- Enter the bucket name
- Click "Connect"
Azure Blob Storage
- Create a storage account in Azure
- Create a container for backups
- Get your connection string
- In Nurosentrix, go to Settings → Storage
- Click "Add Storage" and select "Azure Blob"
- Enter the connection string and container name
- Click "Connect"
Backup Schedules
Creating a Schedule
- Go to your instance settings
- Click on "Backups" tab
- Click "Add Schedule"
- Configure:
- Frequency (hourly, daily, weekly)
- Time of day
- Storage destination
- Retention period
- Click "Save"
Recommended Schedules
| Environment | Frequency | Retention |
|---|---|---|
| Production | Hourly | 7 days |
| Staging | Daily | 3 days |
| Development | Weekly | 2 weeks |
Manual Backups
To create an immediate backup:
- Go to your instance
- Click "Actions" → "Backup Now"
- Select the storage destination
- Click "Create Backup"
The backup will start immediately and you can monitor progress in the dashboard.
Backup schedules live under Instance → Backups, and storage destinations are configured in Settings → Storage.
Restoring from Backup
Restoring a backup will replace all current data in the instance. This action cannot be undone. A pre-restore backup is automatically created.
Restore to Same Instance
- Go to your instance → Backups tab
- Find the backup you want to restore
- Click "Restore"
- Confirm the restoration
- Wait for the process to complete
Restore to New Instance
- Go to Backups in the main menu
- Find the backup you want to restore
- Click "Restore to New Instance"
- Configure the new instance settings
- Click "Create & Restore"
Backup Types
| Type | Description |
|---|---|
| Scheduled | Automatic backups based on your schedule |
| Manual | On-demand backups created by users |
| Pre-Deploy | Automatic backup before deployments |
| Pre-Restore | Automatic backup before restoring another backup |
Backup Verification
Nurosentrix automatically verifies backups after creation by checking:
- File integrity (SHA-256 checksums)
- Database dump validity
- Filestore completeness
Failed verifications are flagged in the dashboard and you'll receive an alert.
Retention Policies
Configure how long backups are kept:
- Days to keep - Backups older than this are deleted
- Minimum backups - Always keep at least this many backups
Retention policies run daily and automatically clean up old backups.
Troubleshooting
Backup Failed
- Check storage credentials are still valid
- Verify the bucket/container exists and is accessible
- Ensure sufficient storage space
- Check instance is running and healthy
Restore Failed
- Verify the backup file is not corrupted
- Check the target instance has enough disk space
- Ensure database compatibility (same or newer Odoo version)
- Review restore logs for specific errors
Slow Backups
- Large filestores take longer to backup
- Consider scheduling backups during off-peak hours
- Use a storage region close to your server