Storage Backends
PanelAlpha Snapshot Tool supports three types of storage backends for your snapshots.
Local Storage
Store backups on the same server.
Best for: Development, testing, local backups
| Pros | Cons |
|---|---|
| Fast backup/restore | Single point of failure |
| Simple setup | Limited by local disk space |
| No network required | Lost if server fails |
Configuration
⚠️ Warning: If the server fails, you will lose your backups. Consider using remote storage for production environments.
SFTP Storage
Store backups on a remote server via SSH.
Best for: Remote server backups, existing SSH infrastructure
| Pros | Cons |
|---|---|
| Secure (SSH encryption) | Requires SSH access setup |
| Widely supported | Depends on remote server availability |
| Off-site storage | Network latency |
Configuration
SSH Key Setup
For passwordless authentication, set up SSH keys:
# Generate SSH key (if you don't have one)
ssh-keygen -t ed25519 -C "backup@panelalpha"
# Copy key to remote server
ssh-copy-id backup-user@backup.example.com
S3-Compatible Storage
Store backups in cloud object storage.
Supported providers: - AWS S3 - Hetzner Storage Box - DigitalOcean Spaces - MinIO - Any S3-compatible storage
Best for: Production environments, scalable storage
| Pros | Cons |
|---|---|
| Highly available | Requires cloud account |
| Scalable | Ongoing costs |
| Geographically distributed | Network dependent |
| Cost-effective | Initial setup complexity |
Configuration
RESTIC_REPOSITORY="s3:s3.eu-west-1.amazonaws.com/bucket-name/pasnap-snapshots"
AWS_ACCESS_KEY_ID="your-access-key"
AWS_SECRET_ACCESS_KEY="your-secret-key"
Provider-Specific Examples
AWS S3:
Hetzner Storage Box:
DigitalOcean Spaces:
MinIO (self-hosted):
Choosing a Backend
| Scenario | Recommended Backend |
|---|---|
| Development/Testing | Local |
| Small production, existing SSH infra | SFTP |
| Production, high availability needed | S3 |
| Compliance requirements | S3 with versioning |
| Budget-conscious | Local or self-hosted MinIO |
Testing Connection
After configuration, always test your connection: