JetBackup 5 is a powerful backup solution for WHM/cPanel servers. This version of the guide is specifically optimized for cPanel environments running on AlmaLinux, CloudLinux, CentOS, or Rocky Linux.
๐ง 1. Requirements
- A supported Linux OS:
โ AlmaLinux 8/9,
โ CloudLinux 8/9,
โ CentOS 7 (EOL but still supported),
โ Rocky Linux 8/9 - WHM/cPanel installed
- Root SSH access
- JetBackup 5 license (trial or paid)
๐ ๏ธ 2. Installing JetBackup 5 for cPanel
- SSH into your server as root.
- Run the following commands:
cd /root
curl -L -o jetapps.sh https://repo.jetlicense.com/jetapps/jetapps.sh
bash jetapps.sh
jetapps --install jetbackup5
- Once installed, log into WHM and navigate to:
WHM ยป Plugins ยป JetBackup 5
๐ Tip: Installation pulls dependencies like MongoDB automatically.
๐งน 3. Uninstalling JetBackup 5
To cleanly remove JetBackup 5 from your cPanel server:
jetapps --uninstall jetbackup5
๐ Logs and some configs may remain under
/usr/local/jetapps/usr/jetbackup5/
โ๏ธ 4. Managing JetBackup 5 Features via WHM
Navigate to:
WHM ยป Plugins ยป JetBackup 5 โ Settings > Modules
Here you can enable/disable:
- ๐ Backup & Restore Jobs
- ๐ Snapshots
- ๐ Schedules
- ๐งฒ Clone Jobs
- ๐ Remote Destinations (S3, Wasabi, B2, Rsync, etc.)
- ๐ง Custom Hooks
- ๐ก Queue Monitoring
- ๐ User Permissions
๐ฅ๏ธ 5. Managing JetBackup 5 via CLI
๐ List available modules:
jetbackup5 --list-modules
โ Install a module (example: Wasabi):
jetbackup5 --install-module wasabi
โ Uninstall a module:
jetbackup5 --uninstall-module wasabi
Replace
wasabi
withs3
,b2
,rsync
,local
, etc.
๐ 6. Monitoring Backups & Logs
- View real-time status under:
WHM ยป JetBackup 5 ยป Queue - View logs via CLI:
tail -f /usr/local/jetapps/usr/jetbackup5/var/log/jetbackup5.log
๐ 7. User Permissions & Security
In WHM ยป JetBackup 5 ยป Permissions, you can:
- Restrict backup/restore features per cPanel user
- Limit access by account packages
- Prevent end-users from setting up destinations or scheduling
๐ 8. Updating JetBackup 5
Keep JetBackup current to get the latest features and security patches:
jetapps --update
jetapps --upgrade jetbackup5
๐ 9. Restarting JetBackup Services (for troubleshooting)
service jetmongod restart
systemctl restart jetbackup5d
๐งผ 10. Recommended Backup Exclude Patterns
In WHM ยป JetBackup 5 ยป Backup Jobs ยป Exclude Paths, add the following:
*.bkup
*.gz
*.jpa
*.log
*.sql
*.tar
*.tar.gz
*.wpress
*.zip
*/.wysiwygPro_*
*/backupbuddy_backups/*
*/cache/smarty/*
*/com_akeeba/backup/*
*/core.[0-9]*
*/error_log
*/var/amasty_fpc/*
*/var/backups/*
*/var/cache/*
*/var/debug/*
*/var/export/*
*/var/import/*
*/var/log/*
*/var/report/*
*/var/session/*
*/var/tmp/*
*/wp-content/cache/*
*/wp-content/wphb-cache/*
*/wp-content/uploads/wpcf7_captcha/*
*/wp-content/widget-cache/*
*/wptsc-cachedir/*
.MirrorSearch
.cpanel/*.sock
.trash
access-logs/*
backup-*.tar.gz
logs/*
public_ftp/*
public_/cache/*
site-*.tar.gz
softaculous_backups/*
tmp/*
lscache/*
๐งพ 11. Check License (if expired or invalid)
jetcli backup --license
This will force JetBackup to re-check and re-activate your license.