Creating jobs¶
Info
To execute the job, the corresponding outgoing and incoming ports on the server, switch and all network devices must be enabled. By default, these are the SSH connection and the TFTP connection.
The ports via which a connection is established can be changed in the Job configuration. Only one switch at a time can be accessed via the TFTP port.
If it is necessary to backup several switches at the same time, you must set a different TFTP port for each switch and also increase the maximum number of parallel uploads in the INI files module in the AdminClient.
To create jobs for Scalance switches¶
- Start the AdminClient and open the Jobs module.
- Select a Scalance component in the Project tree.
- Create a job with the Switches upload type.
- Configure the general sections General and Upload compare. Under Upload and compare, select Previous Backup <-> Backup under compare policy if no project data has been versioned in the component.
-
Configure the Switches settings section.
- Under Device, enter the IP address or the name of the device to be accessed by the job.
- Under User and Password, enter the credentials for accessing the device.
-
for Type or Scalance (WBM).
Info
Scalance (WBM) applies to Scalance S6xx and Scalance XM4xx.
-
If you have selected the Scalance type, make the following settings:
- In the Command select the command to be executed that is to be executed to backup the switch. By default, the value Auto is selected, which means that the correct command is automatically selected based on the model number of the switch (e.g. all models between 300 and 3. For example, all models between 300 and 399 are backed up with the command "saveload"). In individual cases, however, it is necessary to select a different command for a specific switch, for example if there are different firmware versions for the same switch. The three possible options (save, saveload and loadsave) designate the respective command that is used to backup the configuration. The command can be found in the respective manual of the switch within the Command Line Interface (CLI) commands.
- For Port, enter the outgoing port via which the connection to the device is to be established.
- For TFTP Server IP, enter the IP address of the TFTP server For TFTP Server IP Port, enter the incoming port via which data is to be received by the device.
Info
The default value is 69.
-
For Name of the configuration file, enter the configuration file that is to be extracted from the device.
Info
The default value is
config.cfg
. This value is also entered in the File specifications and compare settings section. If you have a different name for the configuration file, it must be changed here. -
Check the Upload firmware checkbox if the firmware data is also to be backed up.
-
Configure the File specifications and compare settings section.
Info
To prevent differences being detected each time a job is executed, the Current values System Up Time and System Time must be excluded from the comparison. The comparison can only be configured if project data has been versioned in the associated component.
- Check the Enable custom configuration for this job checkbox and select Edit.
-
Use the Add and Remove buttons to customize the tables Compare these files and Do not compare these files.
Info
The use of placeholders is possible. For example, the entry *.txt applies to all files with the file extension *.txt.
-
In the Compare these files table, select the desired comparison from the drop-down list by selecting it.
- In both tables, select whether the entry in this line should also apply to files in subdirectories.
-
Select the Configure comparator button to make further settings for the selected comparator.
Info
This option is not available for all comparators.
-
Specify whether changes are to be detected based on timestamp or checksum.
- Under storage settings, under Ignore empty directories, specify whether empty directories on the device are to be ignored.
-
Under Compression factor, select the compression factor for the backup.
Info
Lower compression factors require less time to compress the backup. However, more storage space is used on the Server.
-
Close the dialog with OK.
-
If necessary, check the checkbox if you also want a backup of the firmware to be created when the job is executed.
- Save the job and execute it.
Info
The compare settings only apply to the job for which they were made. You can apply them to other jobs in the jobs list by dragging and dropping.
Info
You can implement further settings for jobs of this upload type in the AdminClient in the Global settings dialog.