Backup Goblin lets your clients restore their own JetBackup 5 backups from your Blesta client area. It has two parts: the plugin in Blesta, and the small Goblin Helper on each cPanel server. Setup takes about fifteen minutes.
Before you start
- Blesta 6.0 or newer, with your hosting services on the cPanel module
- PHP 8.3 or 8.4 on the Blesta server, with ionCube Loader 15 or newer
- cPanel/WHM servers running JetBackup 5, and root SSH access to each one
- In JetBackup 5 on each server: Settings > Backup on Demand turned on
- Your Backup Goblin license key, found in your K & K client area under Services after ordering Backup Goblin for Blesta
Step 1: Install the plugin in Blesta
- Download Backup Goblin from your K & K client area. Pick the plugin zip that matches your PHP version (8.3 or 8.4).
- Upload the zip to your Blesta folder and extract it. You should now have the folder plugins/backup_goblin.
- In Blesta admin, go to Settings > Company > Plugins > Available, find Backup Goblin and click Install.
Step 2: Activate your license
- Go to Tools > Backup Goblin and open the License tab.
- Paste your license key and click Save and check. The status should show Active.
One license covers every company on your Blesta install and all your cPanel servers.
Step 3: Install the Goblin Helper on each cPanel server
- Download the Goblin Helper zip from your K & K client area (one file for every PHP version).
- Upload it to the server and extract it in /root as root, so you have /root/backup-goblin-helper.
- Run the self test with cPanel's PHP:
/usr/local/cpanel/3rdparty/bin/php /root/backup-goblin-helper/goblin-helper.php selftest
Fix anything it marks FAIL, then run it again.
The helper works with its default settings. Copy config.sample.php to config.php only if you want to change something, such as restores per day.
Step 4: Pair the server with Blesta
- In Blesta, go to Tools > Backup Goblin > Servers and click Pair next to the server.
- Blesta shows a pairing command and a cron line. Run the pairing command once on the server as root. It is shown only once; if you lose it, click New pairing key.
- Add the cron line to root's crontab (crontab -e as root). The helper checks in with Blesta every minute.
Within a minute, the Servers tab shows the helper version and its last check-in.
Step 5: Turn it on for your packages
- Go to Packages, edit each cPanel package, open Plugins and tick Backup Goblin.
- Clients on those packages now see a Backups tab on their hosting service.
While you test, leave Require staff approval for restores on (Tools > Backup Goblin > Settings). Restores then wait in the Requests tab for you to approve. Downloads and safety copies never need approval.
What clients can do
- Pick a backup date and restore their home folder, a single file or folder, a database, an email account, cron jobs, DNS, SSL, database users or FTP accounts. A safety copy is made first.
- Take a backup now and prepare downloads, with live progress on the page.
- Lock a backup, ask your team for a staff-assisted restore and get a weekly backup report, if their plan includes them.
Need help? Open a support ticket. Full feature list: Backup Goblin for Blesta.