4D v14.3

GET RESTORE INFORMATION

Home

 
4D v14.3
GET RESTORE INFORMATION

GET RESTORE INFORMATION 


 

GET RESTORE 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  String, Time in Value 2 of the selector

The GET RESTORE INFORMATION command gets information related to the last automatic database restore.

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 restore date Longint 0
Last restore status Longint 2

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

  • If selector = 0 (Last Restore Date), info1 returns the date and info2 the time of the last automatic database restore.
  • If selector = 2 (Last Restore Status), info1 returns the number and info2 the text of the status of the last automatic database restore.

Note: This command does not take manual database restores into account.

 
PROPERTIES 

Product: 4D
Theme: Backup
Number: 889

 
HISTORY 

Created: 4D 2004

 
SEE ALSO 

RESTORE

 
ARTICLE USAGE

4D Language Reference ( 4D v11 SQL Release 6)
4D Language Reference ( 4D v12.4)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)