offsite-s3-backups

2 min read Updated 0 seconds ago

Offsite S3 backups

Back up your application data to Amazon S3 or compatible storage services. Your backups are stored securely outside of Ploi Cloud, giving you full control over your data.

Getting started

To enable backups, go to your application's Backups tab and enter your S3 credentials:

  • Bucket name: Where your backups will be stored
  • Region: Your bucket's location (like us-east-1)
  • Access key ID: Your S3 access key
  • Secret access key: Your S3 secret key
  • Custom endpoint (optional): For S3-compatible services like MinIO or Wasabi

Your credentials are encrypted and never shown again after saving.

How backups work

When you trigger a backup:

  1. Your application files and databases are collected
  2. Databases are compressed to save space
  3. Everything is uploaded to your S3 bucket
  4. You'll see the backup status in your dashboard

What's included: Application volumes, databases (MySQL, PostgreSQL, MongoDB), and MinIO storage. Other services like Redis or RabbitMQ are not backed up.

Backup organization

Your backups are organized in your S3 bucket:

your-bucket/
└── app-123/
    ├── volumes/
    │   ├── storage/
    │   └── uploads/
    ├── databases/
    │   ├── mysql.sql.gz
    │   └── postgres.sql.gz
    └── minio/
        └── data/

Each application's backups are stored under app-{id} with separate folders for volumes, databases, and MinIO data.

Scheduling backups

Automatic backups

When enabled, backups run automatically every night. Each backup overwrites the previous one, so only the most recent backup is kept.

Monitoring backups

In the Backups tab, you can see:

  • When the last backup was created
  • Backup size

You can view the logs of your most recent backup directly in the Backups tab to see what happened.

Security

  • Your S3 credentials are encrypted
  • Backups have read-only access to your files
  • Data is encrypted during transfer to S3
  • Use IAM credentials with minimal permissions