A backup file is created. The filename is passed with sBackupFile.
Syntax
C++
METHOD PUBLIC Backup : BOOL
VAR_INPUT
sBackupFile : STRING;
END_VAR
Parameters
|
Parameter |
Description |
|---|---|
|
sBackupFile |
Name of the backup file |
|
Return value |
TRUE |
Example
C++
data : MnDataCollector := (m_sDatabase := '\mnplc\boot\testdata.db', m_DatabaseLimit := DATACOLLECTOR_DATALIMIT_ENTRIES, m_dwDatabaseSize := 5);
----
data.Backup('MyBackupfile');
Requirements
Remarks
This function is used to export database entries.