Promotic

BackupCreate - method of the PmaTrendGroup object

Description:
Creates a new backup.
The method is functional only if the type of the technology (see the "Storage type" configurator) supporting the backup is selected.
Syntax:
Empty BackupCreate([String sName], [String sTitle])
Parameters:
sName[optional] (String) Name of the new backup file
sTitle[optional] (String) The user description of the new backup file
Note:
By calling the method the backup where the data were stored so far, is closed (by calling the methods Run or RunTime) and a new empty backup is created. The method can be called regardless of whether the automatic backup creation is defined on the "Storage" tab. If the sName, sTitle parameters aren't set, then the backup is created with the pre-defined system and user's name and both these strings can be changed in the onBackupCreate event.
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oTrend = pMe.Pm("/Trends");
oTrend.BackupCreate();
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.