WARNING: JetBackup 4 is set to reach its End-of-Life (EOL) on July 1st, 2024. For More Information, please visit:
JetBackup 4 EOL Announcement.
Imunify360
Imunify360 helps you provide a secure and reliable web hosting service. It’s multi-layered defense architecture
ensures precision targeting and eradication of malware and viruses. For more information: https://www.imunify360.com
Choose what action(s) JetBackup will perform and at what point of detection once Imunify360 triggers an alert.
Restore Infected Action
JetBackup will restore the infected file from the most recent bakup.
- Never - The infected file will never be restored.
- On malware detection - The infected file will be restored after the malware detection - Please note that if you have Imunify360 set to cleanup, the restored file will be removed!
- On malware cleanup - The infected file will be restored after the malware auto clean up.
Lock Infected Action
JetBackup locks the last backup of the affected account.
- Never - Never Lock the account backup.
- On malware detection - Lock the account latest backup after malware detection - If you set a restore action on this stage, the most recent clean backup will be locked.
- On malware cleanup - Lock the account latest backup after malware cleanup - If you set a restore action on this stage, the most recent clean backup will be locked.
Action Script
Specify the path of a custom script to enable JetBackup to trigger it once an action is
successfully executed. JetBackup will then pass the following arguments to the specified script:
- [1] - The action that was executed (Backup Lock/Restore).
- [2] - The name of the infected cPanel account.
- [3] - The path of the infected file.
Here's a sample script that sends an email notification once the JetBackup Security Plugin executes a file restore/backup lock:
#!/usr/local/jetapps/usr/bin/php71
<?php
error_reporting(E_ALL);
ini_set('display_errors', 1);
$action = $argv[1];
$account = $argv[2];
$virusPath = $argv[3];
$to = "[email protected]";
$subject = "JetBackup Security Plugin Notification: $action";
$message = "JetBackup detected malware on the following account: $account \n
The Security Plugin executed $action \n on the following malware
file path: $virusPath";
mail($to, $subject, $message);