4D v14.3On Backup Startup Database Method |
||
|
4D v14.3
On Backup Startup Database Method
On Backup Startup Database Method
The On Backup Startup Database Method is called every time a database backup is about to start (manual backup, scheduled automatic backup, or using the BACKUP command). The GET BACKUP INFORMATION allows verifying that the backup started. In this method, you should return a value that authorizes or refuses the backup in the $0 parameter:
You can use this database method to verify backup execution conditions (user, date of the last backup, etc.). Note: You must declare the $0 parameter (longint) in the database method: C_LONGINT($0). |
PROPERTIES
Product: 4D SEE ALSO
BACKUP ARTICLE USAGE
4D Language Reference ( 4D v11 SQL Release 6) |