GET BACKUP INFORMATION

4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next

version 2004


GET BACKUP INFORMATION (selector; info1; info2)

ParameterTypeDescription
selectorLongintType of information to get
info1Date | IntegerValue 1 of the selector
info2Time | StringValue 2 of the selector

Description

The GET BACKUP INFORMATION command allows getting 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:

ConstantTypeValue
Last Backup DateLongint0
Last Backup StatusLongint2
Next Backup DateLongint4

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.


4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next