4D v16.3

GET BACKUP INFORMATION

Home

 
4D v16.3
GET BACKUP INFORMATION

GET BACKUP INFORMATION 


 

GET BACKUP INFORMATION ( selector ; info1 ; info2 ) 
Parameter Type   Description
selector  Longint in Type of information to get
info1  Longint, Date in Value 1 of the selector
info2  Time, String in Value 2 of the selector

The GET BACKUP INFORMATION command gets information related to the last backup performed on the database data.

Pass the type of information to get in selector. You can use one of the following constants, placed in the “Backup and Restore” theme:

Constant Type Value
Last backup date Longint 0
Last backup status Longint 2
Next backup date Longint 4

The type and content of the info1 and info2 parameters depend on the value of selector.

  • If selector = 0 (Last Backup Date), info1 returns the date and info2 the time of the last backup.
  • If selector = 2 (Last Backup Status), info1 returns the number and info2 the text of the status of the last backup. 
  • If selector = 4 (Next Backup Date), info1 returns the date and info2 the time of the next scheduled backup.



See also 

RESTORE

 
PROPERTIES 

Product: 4D
Theme: Backup
Number: 888

 
HISTORY 

Created: 4D 2004

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)