Tab ‘Backup and Restore’
In this tabbed page of the generic device editor, you can backup and restore the application-specific file on the PLC by saving and reading a zip archive.
Requirement: The communication settings are correct for connection to the device. The application for backup is available on the PLC.
Menu Bar
Backup |
This button opens a menu with the following commands:
Read backup information from device: This command searches for application-specific files from the $PlcLogic$ directory of the PLC and lists them in a table in the lower part of the tabbed page.
Create backup file and save to disk:
Requirement: The Read backup information from device command was used for determining the backup-related files. These files are located in the table in the lower part of the tabbed page.
This command compresses the files in the table set as Active and the meta.info information file into a backup zip file. The file extension is tbf (=”Target Backup File”).
Save backup file to device:
Requirement: The backup file has been saved to the disk. This command saves the backup file to the TBF directory of the PLC.
|
Restore |
This button opens a menu with the following commands:
Load backup file from disk: This command opens the Open dialog box for navigating the file system for a saved backup file. The included files are listed in a table in the lower part of the tabbed page.
Load backup file from device: This command generates a list of all backup files found on the PLC. Select one of these files to view its contents in a table on the tabbed page. For the restore operation, you can deactivate optional components and edit the comments.
Restore on device: This command is available if at least one component of the backup file that is currently loaded in the tabbed page is set to active. It prompts for restoring the application status on the device. The user interface is blocked during restore. You can cancel the operation.
|
Target Information
ID |
ID of the PLC (example: 0000 0001 ) |
Type |
Device type (example: 4096 ) |
Version |
Device version (example: 3.5.8.0 ) |
Backup Information
File name |
Storage path of the backup file. Clicking the symbol ( ) opens the file system dialog box. Example: PlcLogic$/Application/Application.crc |
Size of active files |
(in kilobytes) Total size of the files set as active in the table (example: 206 KB (210965 bytes) ). |
Mode |
Defines the scope of the backup: Application. The application-related files are added to the archive. |
Comment |
Optional entry for comments to be saved in the meta.info file of the backup and reading when the files are restored. |
Table of files for backup
Active |
: Optional files can be deactivated here for exclusion in the backup file.
Required components are shown here with a green check mark (no check box).
|
Component |
Affected components (example: file system ) |
File |
Name of the component file to back up (example: $PlcLogic$/Application/Application.app ) |
Size |
File size in bytes (example: 43280 ) |
Requires STOP |
: For components, the application must be stopped before backup and restore. A dialog prompt will open to warn you of any backup or restore conflicts. |
See also