Guides

Backup & Recovery

Protect your data with automated backups and learn how to restore when needed.

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:

ProviderDescription
Amazon S3AWS S3 or S3-compatible storage
Google Cloud StorageGCS buckets
Azure Blob StorageAzure storage containers
LocalServer 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

  1. Create an S3 bucket in your AWS account
  2. Create an IAM user with S3 access
  3. In Nurosentrix, go to Settings → Storage
  4. Click "Add Storage" and select "Amazon S3"
  5. Enter your credentials:
    • Access Key ID
    • Secret Access Key
    • Bucket Name
    • Region
  6. Click "Connect"

Google Cloud Storage

  1. Create a GCS bucket in your Google Cloud project
  2. Create a service account with Storage Admin role
  3. Download the JSON key file
  4. In Nurosentrix, go to Settings → Storage
  5. Click "Add Storage" and select "Google Cloud Storage"
  6. Upload your service account JSON file
  7. Enter the bucket name
  8. Click "Connect"

Azure Blob Storage

  1. Create a storage account in Azure
  2. Create a container for backups
  3. Get your connection string
  4. In Nurosentrix, go to Settings → Storage
  5. Click "Add Storage" and select "Azure Blob"
  6. Enter the connection string and container name
  7. Click "Connect"

Backup Schedules

Creating a Schedule

  1. Go to your instance settings
  2. Click on "Backups" tab
  3. Click "Add Schedule"
  4. Configure:
    • Frequency (hourly, daily, weekly)
    • Time of day
    • Storage destination
    • Retention period
  5. Click "Save"

Recommended Schedules

EnvironmentFrequencyRetention
ProductionHourly7 days
StagingDaily3 days
DevelopmentWeekly2 weeks

Manual Backups

To create an immediate backup:

  1. Go to your instance
  2. Click "Actions" → "Backup Now"
  3. Select the storage destination
  4. 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

Warning:

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

  1. Go to your instance → Backups tab
  2. Find the backup you want to restore
  3. Click "Restore"
  4. Confirm the restoration
  5. Wait for the process to complete

Restore to New Instance

  1. Go to Backups in the main menu
  2. Find the backup you want to restore
  3. Click "Restore to New Instance"
  4. Configure the new instance settings
  5. Click "Create & Restore"

Backup Types

TypeDescription
ScheduledAutomatic backups based on your schedule
ManualOn-demand backups created by users
Pre-DeployAutomatic backup before deployments
Pre-RestoreAutomatic 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