|
|
|
|
|
<Connection variable>.ExecuteScheduledBackup (Function) In french: <Variable Connexion>.ExécuteSauvegardePlanifiée
Available only with this kind of connection
Forces the execution of a scheduled backup. The scheduled backup is run during the call to the function instead of being run according to its scheduling.
DatabaseConnection is Connection
hBck is hBackupDescription
hBck.WithIndex = False
hBck.Source = DatabaseConnection.Database
hBck.Description = DatabaseConnection.Database
hBck.SchedulingFull.Month = "12"
hBck.SchedulingFull.Hour = "22"
hBck.SchedulingDifferential.Month = "12"
hBck.SchedulingDifferential.Hour = "23"
DatabaseConnection.AddScheduledBackup(hBck)
IF DatabaseConnection.ExecuteScheduledBackup(hBck.Identifier, False) = False THEN
Error("<Connection> failed.ScheduledBackup (full backup): " + ...
HErrorInfo(hErrFullDetails))
END
Syntax
<Result> = <Connection>.ExecuteScheduledBackup(<Backup identifier> [, <Type of backup>])
<Result>: Boolean - True if the scheduled backup was immediately triggered,
- False if an error occurs.
<Connection>: Connection variable Name of the Connection variable that describes the connection for which the scheduled backup must be performed. <Backup identifier>: Integer Identifier of the scheduled backup to run. <Type of backup>: Optional boolean Type of backup: - True (default value): Differential backup.
- False: Full backup.
Note: A differential backup can only be performed if the backup job includes a differential schedule.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|