Skip to main content

Tab: Backup and Restore

On this tab of the generic device editor, you initiate the backup and restore of the application-specific files on the PLC. To do this, you place a packed backup file or read one back in.

For more information, see: Backup and Restore

Requirement: The communication settings for the connection to the device are correct. The application for which you want to perform a backup exists on the controller.

Table 39. Menu bar

Backup

The button opens a menu with the following commands:

  • _cds_icon_load_file.pngRead Backup Information from Device: The command searches for application-specific files from the $PlcLogic$ directory of the PLC and displays them as a table at the bottom of the tab.

  • _cds_icon_open_file.png Create Backup File and Save to Disk:

    Requirement: The Read Backup Information from Device command was used for determining the backup-relevant files. These files are located in the table in the lower part of the tabbed page.

    The 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").

  • _cds_icon_download_symbol.png Save Backup File to Device:

    Requirement: The backup file has been saved to the disk. The command saves the backup file to the TBF directory of the PLC.

Restore

The button opens a menu with the following commands:

  • _cds_icon_open_file.png Load Backup File from Disk: The command opens the Open dialog 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.

  • _cds_icon_load_file.pngLoad Backup File from Device: The 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.

  • _cds_icon_download_symbol.png Restore Backup to Device: The command is available if at least one component of the backup file that is currently loaded on the tab 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.



Table 40. Target Information

ID

ID of the PLC (example: 0000 0001)

Type

Device type (example: 4096)

Version

Device version (example: 3.5.8.0)



Table 41. Backup Information

File name

Storage path of the backup file. Clicking the _cds_icon_button_file_open.png button opens the file system dialog. 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 relevant files are packed.

Comment

Optional entry for comments to be saved in the meta.info file of the backup and reading when the files are restored.



Table 42. Table of files for backup

Active

standard icon: 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

standard icon: 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.