Chapter 6: Using Secure Copy (SCP) Commands
150
•
Restoration operation:
scp backup_settings.xml [email protected]:/settings_restore
Windows PSCP commands:
PSCP in Windows works in a similar way to the SCP.
•
Backup operation:
pscp <user name>@<device ip>:/backup_settings.xml
•
Restoration operation:
pscp backup_settings.xml <user name>@<device ip>:/settings_restore
Downloading Diagnostic Data via SCP
You can download the diagnostic data via SCP.
To download the diagnostic data via SCP:
1.
Type the following SCP command and press Enter.
scp <user name>@<device ip>:/diag-data.tgz
•
<user name>
is the "admin" or any user profile with the Administrator or "Unrestricted View Privileges" privileges.
•
<device ip>
is the IP address of the PDU whose diagnostic data you want to download.
2.
Type the password when the system prompts you to type it.
3.
The system saves the diagnostic data from the PDU to a file named "diag-data.tgz."
SCP example:
scp [email protected]:/diag-data.tgz
Windows PSCP command:
PSCP in Windows works in a similar way to the SCP.
pscp <user name>@<device ip>:/diag-data.tgz