Skip to main content

Introduction

deployERP provides enterprise-grade backup and recovery solutions to protect your Odoo data. With automated backups, encrypted storage, and flexible recovery options, your business data is always safe and recoverable.
Backups are critical for business continuity. deployERP makes it easy to implement a robust backup strategy without complexity.

Backup Components

Each backup includes:

Database

Complete PostgreSQL dump with all data and schema

Filestore

All uploaded files, attachments, and documents

Configuration

Odoo configuration files and custom settings

Backup Types

Automated Backups

Set and forget with scheduled backups:
  • Frequency: Hourly, Daily, Weekly, Monthly
  • Retention: 7 to 365 days
  • Time: Choose preferred backup window
  • Compression: Automatic GZIP compression
  • Encryption: AES-256 encryption at rest

Manual Backups

Create on-demand backups:
  • Before major updates
  • Prior to configuration changes
  • For compliance requirements
  • Testing and development

Continuous Backups

Enterprise feature for critical systems:
  • Point-in-time recovery
  • Transaction log shipping
  • Near-zero RPO (Recovery Point Objective)
  • Cross-region replication

Backup Storage

Storage Providers

  • AWS S3
  • DigitalOcean Spaces
  • Azure Blob
  • Custom S3
Amazon S3 Integration
  • Industry-standard object storage
  • 99.999999999% durability
  • Cross-region replication
  • Lifecycle policies
  • Glacier for long-term archive
{
  "provider": "aws_s3",
  "bucket": "deployerp-backups",
  "region": "us-east-1",
  "access_key": "AKIA...",
  "secret_key": "..."
}

Backup Scheduling

Schedule Configuration

Configure backup schedules per instance:
backup_schedule:
  enabled: true
  frequency: daily
  time: "02:00"
  timezone: "UTC"
  retention_days: 30
  compression: true
  encryption: true
  notify_on_failure: true

Retention Policies

PlanDefault RetentionMaximum Retention
Starter7 days30 days
Professional30 days90 days
Enterprise90 daysUnlimited
Longer retention periods available as add-on for all plans.

Recovery Options

Full Recovery

Complete instance restoration:
  1. Select backup from list
  2. Choose target server
  3. Specify new instance name
  4. Initiate restoration
  5. Verify data integrity

Selective Recovery

Restore specific components:
  • Database only: Restore data without files
  • Filestore only: Restore attachments and documents
  • Configuration: Apply saved settings

Point-in-Time Recovery

Enterprise feature for precise recovery:
# Restore to specific timestamp
deployerp backup restore \
  --instance=production \
  --timestamp="2024-01-15 14:30:00" \
  --target=recovery-instance

Backup Management

Viewing Backups

Access backup history in dashboard:
  • List all backups
  • Filter by date, status, type
  • View backup details
  • Download backups
  • Verify integrity

Backup Verification

Automatic integrity checks:
  • Checksum validation
  • Test restoration (optional)
  • Size verification
  • Corruption detection

Backup Monitoring

Track backup health:
  • Success/failure rates
  • Backup size trends
  • Duration metrics
  • Storage usage
  • Cost analysis

Security

Encryption

Multi-layer encryption strategy:
  1. In Transit: TLS 1.3 during transfer
  2. At Rest: AES-256 encryption
  3. Key Management: Rotating encryption keys
  4. Access Control: IAM policies

Compliance

Meet regulatory requirements:
  • GDPR data protection
  • HIPAA compliance ready
  • SOC 2 Type II
  • ISO 27001 standards
  • Audit logging

Disaster Recovery

RPO and RTO Targets

Backup TypeRPORTO
Hourly1 hour30 minutes
Daily24 hours1 hour
Continuous5 minutes15 minutes

Recovery Procedures

1

Incident Detection

Identify data loss or corruption
2

Backup Selection

Choose appropriate recovery point
3

Restoration

Initiate recovery process
4

Verification

Validate restored data
5

Switchover

Redirect traffic to recovered instance

Cost Optimization

Storage Costs

Estimated monthly storage costs:
SizeAWS S3DO SpacesAzure
10 GB$0.23$0.50$0.18
100 GB$2.30$5.00$1.84
1 TB$23.00$50.00$18.40

Cost Reduction Tips

Optimize Retention

Balance retention needs with storage costs

Use Compression

Enable compression to reduce storage size

Lifecycle Policies

Move old backups to cheaper storage tiers

Clean Filestore

Remove unnecessary files before backup

Best Practices

3-2-1 Rule

Follow the backup best practice:
  • 3 copies of important data
  • 2 different storage media
  • 1 offsite backup

Testing

Regular recovery testing:
  • Monthly test restorations
  • Document recovery procedures
  • Time recovery processes
  • Verify data integrity

Documentation

Maintain backup documentation:
  • Backup schedules
  • Retention policies
  • Recovery procedures
  • Contact information
  • Escalation paths

Troubleshooting

Common Issues

IssueCauseSolution
Backup failsInsufficient storageIncrease storage quota
Slow backupsLarge databaseEnable incremental backups
Recovery failsCorrupted backupUse previous backup
Missing filesIncomplete backupCheck backup logs

Backup Logs

Access detailed logs:
# View backup logs
deployerp logs --service=backup --instance=production

# Check specific backup
deployerp backup show --id=bkp_abc123

API Integration

Manage backups programmatically:
# Create manual backup
curl -X POST https://api.deployerp.com/v1/backups \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{"instance_id": "inst_123", "type": "manual"}'