PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
HExecuteScheduledBackup (Function)
In French: HExécuteSauvegardePlanifiée
HFSQL Client/ServerAvailable 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.
Note: From version 19, HFSQL is the new name of HyperFileSQL.
Versions 22 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 22
iPhone/iPad This function is now available for the iPhone/iPad applications.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
hBck is hBackupDescription
hBck..WithIndex = False // Backup without index
hBck..Source = DatabaseConnection..Database
hBck..Description = DatabaseConnection..Database
hBck..SchedulingFull..Month = "12"
hBck..SchedulingFull..Hour = "22"
hBck..SchedulingDifferential..Month = "12"
hBck..SchedulingDifferential..Hour = "23"
// Create the scheduled backup
HAddScheduledBackup(DatabaseConnection, hBck)
// Immediate execution
IF HExecuteScheduledBackup(DatabaseConnection, hBck..Identifier, False) = False THEN
Error("HExecuteScheduledBackup failed (full backup): " + ...
HErrorInfo(hErrFullDetails))
END
Syntax
<Result> = HExecuteScheduledBackup(<Connection Name> , <Backup Identifier> [, <Type of Backup>])
<Result>: Boolean
  • True if the scheduled backup was immediately triggered,
  • False if an error occurred.
<Connection Name>: Character string (with or without quotes)
Name of the connection for which the scheduled backup must be performed. This connection was defined in the data model editor, or by HDescribeConnection or HOpenConnection.
<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.
Note: A differential backup can be performed only if the backup task includes a differential scheduling.
Components
WINDEVWEBDEV - Server code wd230hf.dll
Windows Mobile wp230hf.dll
Linux wd230hf.so
Minimum required version
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment