Blesta supports Amazon S3, and Secure FTP (SFTP) backup options. One or both can be enabled, allowing offsite backups of Blesta's database at regular intervals. An On-Demand backup can also be performed, useful prior to upgrades or server transfers. To access Backup Settings visit [Settings] > [System] > [Backup].
mysqldump Required
Backups require the "mysqldump" system binary. If this utility is not available on the server, or not executable by the web server or cron user, backups will not be possible.
Automation
Backup tasks will not run unless enabled under [Settings] > [System] > [Automation]. The task there should run at least as frequently as the selected interval option for these backup methods.
Compression
Backups will be automatically compressed if your system supports the Zlib PHP extension, which will greatly reduce the file size.
Secure FTP
Secure FTP or SFTP has the following options:
Option | Description |
---|---|
Hostname | The FQDN of the backup server, i.e. "backup.domain.com". |
Port | The port number, usually 22. This is the same port number as is used for SSH. |
Username | The username for the account. |
Password | The password for the account. |
Path | The destination path to store backups, i.e. "/backup/". |
Interval | The frequency to perform backups. Note that backups must be scheduled under [Settings] > [Company] > Automation. Available options are:
A backup period of at least once daily is recommended. |
Amazon S3
For users with an S3 account, Amazon S3 has the following options:
Option | Description |
---|---|
Region | The user's region used to determine the Amazon S3 endpoint. |
Access Key | The Access Key provided by Amazon. |
Secret Key | The Secret Key provided by Amazon. |
Bucket | The name of the bucked as created in Amazon S3. (This is case sensitive) |
Interval | The frequency to perform backups. Note that backups must be scheduled under [Settings] > [Company] > Automation. Available options are:
A backup period of at least once daily is recommended. |
On Demand
There are two options available for an On Demand backup:
- Force Offsite Backup - This will force the offsite backup(s) to run immediately.
- Download Backup - This will immediately create a backup and prompt for download.