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.
NOTICE: JetBackup 5 is now available in the Stable Tier. For more information, please visit our Jetbackup 5 Documentation.

manageRestoreCondition

Description

With this function, you can create/manage restore conditions.

Parameters

Parameter name Type Description Possible values Example
_id String Required on action modify
The ID of the restore conditions.
  5b66bb09d5ac5e1c714985e2
action String Required
The action you want to perform.
  • create
  • modify
 
title String Required on action create
The condition title.
  Are you sure you want to restore this account?
content String Required on action create
The condition content.
  All old information created after the backup restore point will be permanently lost.
type Integer Required on action create
The restore types you want the condition apply to.
  • All Restore Types - 1
  • Full Account Restore - 2
  • File Restore - 3
  • Database Restore - 4
  • Email Restore - 5
  • DNS Zone Restore - 6
  • Cron Job Restore - 7
  • SSL Certificate Restore - 8
 
type_name String The description of restore conditions type.
  • All Restore Types - 1
  • Full Account Restore - 2
  • File Restore - 3
  • Database Restore - 4
  • Email Restore - 5
  • DNS Zone Restore - 6
  • Cron Job Restore - 7
  • SSL Certificate Restore - 8
 
disabled Boolean Whether the restore condition is enabled.    
applyto Integer The user type the restore condition applies to.
  • None - 0
  • cPanel Users - 1
  • WHM Users - 2
  • All Users - 3
 

Returns

This API call returns restore conditions object.
To view the parameters returned, click on Restore Conditions Object

Example