This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20 R7
Backup and Restore

Backup and Restore 

 

 

Constant  Type Value Comment
Auto repair mode  Longint 1 Use flexible mode with auto-repair actions and fill the errObject parameter (if any)
Field attribute with name  Longint 2 Fields are identified by their name. Example: {"LastName":"Jones"}
Field attribute with number  Longint 1 Fields are identified by their number (default if omitted). Example: {"5":"Jones"}.
Last backup date  Longint 0

info1 returns the date and info2 the time of the last backup.

Last backup information  Longint 5

info1 returns the last backup duration in milliseconds (longint) and info2 the last backup begin timestamp (string, see formatting details in the Timestamp command) 

Last backup status  Longint 2

info1 returns the number and info2 the text of the status of the last backup

Last restore date  Longint 0  
Last restore status  Longint 2  
Next backup date  Longint 4

info1 returns the date and info2 the time of the next scheduled backup

Strict mode  Longint 0 Use strict integration mode (default)


See also 

_o_INTEGRATE LOG FILE
GET BACKUP INFORMATION
GET RESTORE INFORMATION
INTEGRATE MIRROR LOG FILE
LOG FILE TO JSON

 
PROPERTIES 

Product: 4D
Theme: List of constant themes

 
HISTORY 

Modified: 4D v15 R4

 
ARTICLE USAGE

4D Language Reference ( 4D v20 R7)