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:

OptionDescription
HostnameThe FQDN of the backup server, i.e. "backup.domain.com".
PortThe port number, usually 22. This is the same port number as is used for SSH.
UsernameThe username for the account.
PasswordThe password for the account.
PathThe 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:

  • Never
  • Hour
  • 2 Hours
  • 4 Hours
  • 6 Hours
  • 8 Hours
  • 10 Hours
  • 12 Hours
  • Day
  • 1.5 Days
  • 2 Days
  • 3 Days
  • 4 Days
  • 5 Days
  • 6 Days
  • 7 Days

A backup period of at least once daily is recommended.

Amazon S3

For users with an S3 account, Amazon S3 has the following options:

OptionDescription
RegionThe user's region used to determine the Amazon S3 endpoint.
Access KeyThe Access Key provided by Amazon.
Secret KeyThe Secret Key provided by Amazon.
BucketThe 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:

  • Never
  • Hour
  • 2 Hours
  • 4 Hours
  • 6 Hours
  • 8 Hours
  • 10 Hours
  • 12 Hours
  • Day
  • 1.5 Days
  • 2 Days
  • 3 Days
  • 4 Days
  • 5 Days
  • 6 Days
  • 7 Days

A backup period of at least once daily is recommended.

On Demand

There are two options available for an On Demand backup:

  1. Force Offsite Backup - This will force the offsite backup(s) to run immediately.
  2. Download Backup - This will immediately create a backup and prompt for download.
On Demand Buttons

  • No labels