Copying Support Save Files

When Support Save files are copied using the copy support command, they are all saved under a single directory on the remote server. The directory name is derived by combining the hostname and serial number of the SLX device and the timestamp of when the copy support command was executed.

A new directory with the format <HOSTNAME>_<SERIAL-NO>_<MMDD_HHMM> is automatically created on the remote server or USB device. The location of this sub-directory will depend on the copy command parameters.

Destination is a USB Drive

When the destination for saving the support save files is a USB device, the support save directory is always created in the directory /usb/usbstorage/slxos/slxos/support/.

For example, if the SLX host details are as under:

Hostname: SLX-MY-HOST
Serial-Number: TH000001Q-00001
Time Stamp: 23-OCT-2021 02:25:36 PM
            

Then the Support Save files are stored in the newly created directory SLX-MY-HOST_TH000001Q-00001_1023_1425.

/usb/usbstorage/slxos/slxos/support/SLX-MY-HOST_TH000001Q-00001_1023_1425
            

Destination is a remote FTP server

When using a remote FTP server to transfer your Support Save files, the destination folder must be passed with the copy support command. You need not create the destination directory. The copy support command will create the remote directory structure before creating the Support Save sub-directory within it. It will then copy the Support Save files into this newly created sub-directory.

For example, if the SLX host details are as under:

Hostname: SLX-MY-HOST
Serial-Number: TH000001Q-00001
Time Stamp: 23-OCT-2021 02:25:36 PM
            

and the FTP server details are as under:

Hostname: 10.25.37.42 
User-name: ftp-user
Password: password
Destination Directory: /ftp-dir/support-saves/
            

Then the Support Save files are stored in the newly created directory SLX-MY-HOST_TH000001Q-00001_1023_1425. If the destination directory /ftp-dir/support-save is not available, then it will be created automatically and the directory SLX-MY-HOST_TH000001Q-00001_1023_1425 created within it. All the Support Save files are then copied to the newly created directory. The path under which you will find the Support Save files will be:

/ftp-dir/support-saves/SLX-MY-HOST_TH000001Q-00001_1023_1425
            

Destination is a remote server and SCP is used to transfer the files.

When using SCP to transfer the Support Save files to a remote server, the destination folder must be passed with the copy support command. The Support Save files will be created in the directory named SLX-MY-HOST_TH000001Q-00001_1023_1425 within the destination directory. If the destination directory is not present on the remote-server, then this action will fail. The copy support command will not create the remote directory.

For example, if the SLX host details are as under:

Hostname: SLX-MY-HOST
Serial-Number: TH000001Q-00001
Time Stamp: 23-OCT-2021 02:25:36 PM
            

and the remote server details are as under:

Hostname: 10.25.37.42 
User-name: scp-user
Password: password
Destination Directory: /scp-dir/support-saves/
            

Then the Support Save files are stored in the newly created directory SLX-MY-HOST_TH000001Q-00001_1023_1425. If the destination directory /scp-dir/support-save is not available, then SCP copy will fail.

The path under which you will find the Support Save files will be:

/scp-dir/support-saves/SLX-MY-HOST_TH000001Q-00001_1023_1425