Bobcares

How to fix backup download error in Blesta

PDF Header PDF Footer

In our role as Server support specialists for web hosts, we manage web servers with various control panels and billing portals such as WHMCS, Blesta, HostBill, etc.

Blesta is a customer management, billing, and support system for web hosting providers, which is being used by many web hosts nowadays.

See how we add value to your business!

To safeguard the contents of the portal, Blesta provides a feature to backup its database at regular intervals. The backups can be saved to offsite location via Amazon S3 or Secure FTP (SFTP) backup options.

In addition to these, there is an ‘On-Demand’ backup option, which we usually perform before migrations or upgrades, to be on the safer side.

Today, we’ll see the Backup feature in Blesta and how we prevent backup errors from happening.

Backup feature settings in Blesta

Backup feature is found under ‘[Settings] > [System] > Backup’ option in Blesta. The ‘On Demand’ backups have two options.

  1. Force Offsite Backup – this option will run all configured backups immediately, including both Secure FTP and Amazon S3, if they are configured.
  2. Download Backup – this download option will immediately create a backup for download. The time taken for this process varies depending on the size of the database.

 

backup-download-error-blesta

Backups in Blesta

 

But at times, this backup download doesn’t work and can give errors, such as:

FastCGI sent in stderr: “PHP message: PHP Fatal error:  The file /home/domain/blesta/app/app_model.php was encoded by the ionCube Encoder for PHP 5.4 and cannot run under PHP 7.0.
Please ask the provider of the script to provide a version encoded with the ionCube Encoder for PHP 5.6. in Unknown on line 0”, client: xxx.xxx.xx server: blesta.domain.com, request: “GET / HTTP/1.1”, host: “blesta.domain.com”, referrer: “http://blesta.domain.com/admin/settings/system/backup/download/”

Here, we’ll see the points to be checked for successful backup completion in Blesta.

[ Take care of your customers, before your competitors do. Get world-class support specialists to delight your customers. ]

How to fix backup errors in Blesta

For Blesta backups to function properly, we need to ensure the following points:

  1. The ‘mysqldump’ binary should exist on the server, as database backups are taken using this binary.
  2. The mysqldump binary should have adequate permissions to be executable by the web server user.
  3. The temp directory set under ‘Settings > System > General > Temp Directory’ in Blesta, should also be writable by the web server user.
  4. The PHP functions ‘exec’ and ‘shell_exec’ should be enabled and working fine in the server.

 

blesta-backup-download-error-2

Check temp directory settings for Backups

 

When a backup download error occurs, we check all these aspects and validate the backup process by executing the ‘mysqldump’ binary via command line.

[ Focus on your core business without interruptions. Our tech support experts are here to manage your customers 24/7. ]

At Bobcares, our 24/7 server specialists constantly monitor all the services in the server and proactively audit the server for any errors or corruption in them.

With our systematic debugging approach for service or other software errors, we have been able to provide an exciting support experience to the customers.

If you would like to know how to avoid downtime for your customers due to errors or other service failures, we would be happy to talk to you.

 

GET 24 HOURS PHONE SUPPORT SERVICES

Use Bobcares for your phone support services. Ensure 24/7 coverage for your customers!

CONTACT US FOR 24/7 PHONE SUPPORT PLANS

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

server management

Spend time on your business, not on your servers.

TALK TO US

Or click here to learn more.

Speed issues driving customers away?
We’ve got your back!

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF