Backup

This page contains the global backup settings.





Device configuration
You can select what type of action is to be preceded by an automatic backup of the current device configuration. To activate the automatic backup, you have to have selected at least one of the following settings:
  • Before uploading the firmware The device configuration is automatically backed up before new firmware is uploaded to the device.
  • Before changing the configuration: The device configuration is automatically backed up before uploading or when editing the device configuration.
  • Before applying a script: The device configuration is automatically backed up before before a script is applied to the device.
Backup options
This section allows you to select the type of backup. At least one of the following options must be selected for the automatic backup of the current device configuration:
  • Save as configuration file: The automatic backup saves the current device configuration to a configuration file.
  • Save as configuration script: The automatic backup saves the current device configuration to a configuration script.
    • Numeric: This option means that the sections in the script are shown numerically.
    • Comments: This option adds additional comments.
    • Default parameters: Normally the only settings to be stored are those that deviate from the default values. This option causes the default values to be stored as well.
    • Compact: This option produces output in a compact format. This suppresses spaces and tabs.
    • Column names: Normally tables are filled first by describing the columns with the TAB command and then by filling out each line with a SET command containing only those values which are to be set. If this option is activated, the columns of the table are not described by the TAB command, but instead each table SET command contains the column descriptors.
Backup file
  • Backup path: Here you can set the path to the storage folder on your computer or in the network. The Browse option lets you navigate to the folder of your choice. In the default setting, backups are saved to the 'Config' folder in the program directory on the local computer.
  • Backup filename (without extension): Here you can set the filename (without the file extension). The file extension is set according to the backup type. The file name can contain the variables outlined in the following table. These variables are used to produce the filename when an action is carried out. It is also possible to suffix the backup filename with folders, which are created at the time of backup.
Table 1. Device information
Name %N
MAC address %M
Device type %G
Hardware release %W
Firmware-Version %F
IP address %I
Firmware date %D
Address %H
Serial number %S
The following regular expressions can be used to display information about the device itself. Numbers in square brackets following the variables generate partial information, such as %N[5]. The n-th character in the variable will be expanded. A hyphen defines a character string, e.g. %H[2-5].
Table 2. Examples of the variables
[] Expands all characters
[1] Expands the first character only
[12], [12-12] Expands the twelfth character only
[1-5] Expands from the beginning to the fifth character
[2-5] Expands from the second to the fifth character
[6-] Expands everything as of the sixth character
Table 3. Date and time
%y Year
%hh Hour
%mn Month of the year (1-12)
%mm Minute
%ma Month of the year (January - December)
%s Second
%dn Day of the month (1-31)
%ms Milliseconds
%da Day of the week (Sunday - Saturday)
%dw Weekday (Sunday is 0, 0-6)
%% % (single percent sign)
If a file of the same name already exists in the target directory, then the name of the backup file is automatically suffixed with an ascending number.
Table 4. Examples
Backup filename: MyBackup_%N_%S_%I Result: MyBackup_MyDevice_12481632_10.10.1.1
Backup filename: %d_%mn_%y\Folder_2\%N Result: 25_08_2008\Folder_2\MyDevice

www.lancom-systems.com

LANCOM Systems GmbH | A Rohde & Schwarz Company | Adenauerstr. 20/B2 | 52146 Wuerselen | Germany | E‑Mail info@lancom.de

LANCOM Logo