|
|
|
|
|
<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.
ConnexionBase is Connection
hSvg is hBackupDescription
hSvg.WithIndex = False
hSvg.Source = ConnexionBase.BaseDeDonnées
hSvg.Description = ConnexionBase.BaseDeDonnées
hSvg.PlanificationComplète.Mois = "12"
hSvg.PlanificationComplète.Heure = "22"
hSvg.PlanificationDifférentielle.Mois = "12"
hSvg.PlanificationDifférentielle.Heure = "23"
ConnexionBase.AjouteSauvegardePlanifiée(hSvg)
IF ConnexionBase.ExécuteSauvegardePlanifiée(hSvg.Identifier, False) = False THEN
Error("Echec de <connexion>.SauvegardePlanifiée (sauvegarde complète): " + ...
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 occurred.
<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 to perform: - True (default value): Differential backup.
- False: Full backup.
Remark: A differential backup can be performed only if the backup task includes a differential scheduling.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|