4D v16.3BACKUP |
|||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16.3
BACKUP
BACKUP
The BACKUP command starts the backup of the database using the current backup settings. No confirmation dialog is displayed; however, a progress bar appears on screen. Backup settings are set in the Database Settings ("Preferences" in 4D v11 SQL). They are also stored in the Backup.XML file located in the subfolder Preferences/Backup of the database. The BACKUP command calls the On Backup Startup Database Method at the beginning of its execution and the On Backup Shutdown Database Method at the end of its execution. 4D Server: When called from a client machine, BACKUP is considered as a stored procedure; it is still executed on the server. If the backup is performed correctly, the system variable OK is set to 1; otherwise, it is set to 0. If an incident occurs during backup, information about the incident is written in the backup log and the top-level error is sent only to the On Backup Shutdown database method. It is therefore particularly important to use this database method in order to be able to manage back-up related errors using programming.
See also
GET BACKUP INFORMATION
|
PROPERTIES
Product: 4D HISTORY
Created: 4D 2004 ARTICLE USAGE
4D Language Reference ( 4D v16) |
|||||||||||||||||||||||||||||||||||||||||||||