Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 

Management backup check

Danny
Champion Champion
Champion

🛒 More SmartTasks
👍 Tested to be working with R81.20+

SmartTask to verify the security management's backup state.

Script code

Copy the code below into a new script of your SmartConsole script repository.
if [[ -e /var/log/CPbackup/backups/.last_backup_status ]];then echo '{"result":"success"}';if (((`date +%s`-`date -r /var/log/CPbackup/backups/.last_backup_status +%s 2>/dev/null`) > 2592000 ));then echo '{"result":"failure","message":"Last backup of '$(hos
...;
TO ACCESS CHECKMATES TOOLBOX it's simple and free

Disclaimer: Check Point does not provide maintenance services or technical or customer support for third party content provided on this Site, including in CheckMates Toolbox. See also our Third Party Software Disclaimer.




1 Reply

the_rock
Legend
Legend

Just when I think you made the best script yet, you prove me wrong...amazing! 👌

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


0 Kudos