Configure Filestore¶
Filestore is the abstraction UnifiedBX uses for storage destinations — used by Backup, recordings export, and module log shipping. Configure once, then reference in other modules.
Steps¶
Add a Local Filestore¶
For backups stored on the same host:
- Go to System Admin → Filestore.
- + Add Instance → Local.
- Fill in:
- Name — e.g.
Local Backups. - Path —
/var/spool/asterisk/backup/(default backup path).
- Name — e.g.
- Submit.
Add an SSH/SCP Filestore¶
For pushing backups to another server:
- + Add Instance → SSH.
- Fill in:
- Name — e.g.
Offsite Backup. - Hostname — destination server.
- Port —
22. - Username — backup user on the destination.
- Authentication —
PasswordorKey. Key is more secure; paste private key. - Path — destination directory, e.g.
/backups/unifiedbx/.
- Name — e.g.
- Submit.
Add an FTP Filestore¶
- + Add Instance → FTP.
- Fill in: hostname, port (
21), username, password, path. - Submit.
Add an S3 Filestore¶
For AWS S3 or S3-compatible (MinIO, Wasabi, Backblaze B2 with API):
- + Add Instance → S3 (or Amazon S3).
- Fill in:
- Access Key / Secret Key.
- Region — e.g.
us-east-1. - Bucket — pre-created bucket name.
- Path Prefix — folder within bucket.
- Submit.
Use a Filestore in Backup¶
Once a Filestore is configured, it appears in System Admin → Backup & Restore → Backup template → Storage Locations dropdown. Add the Filestore as a destination.
Verify¶
After configuring an SSH/FTP/S3 Filestore:
- Run a small test backup that targets only this Filestore.
- Check the destination — backup file should appear.
Common Issues¶
- SSH Filestore fails: "permission denied." Wrong username, wrong key, or destination directory not writable.
- S3 Filestore fails: "AccessDenied." IAM user lacks
PutObjecton the bucket. Update IAM policy. - FTP Filestore: "passive mode required." Some FTP servers need passive; set in advanced options.
- Local Filestore: "permission denied."
/var/spool/asterisk/backup/not owned by asterisk:chown -R asterisk:asterisk /var/spool/asterisk/backup. - Backup uses old path. Backup template still pointing at the old Filestore. Update the backup template's Storage Locations.