Promotic
WikipediaLinkedInYoutubeTwitterFacebook

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) User's title of the new backup file
Note:

By calling the method the backup where the data were stored so far, is closed (by calling the Run or RunTime method) and a new empty backup is created. The method can be called irrespective of the fact if 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.13 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice