Chapter 6: Using Secure Copy (SCP) Commands
149
Windows PSCP commands:
PSCP in Windows works in a similar way to the SCP.
•
Save operation:
pscp <user name>@<device ip>:/bulk_config.xml
•
Copy operation:
pscp bulk_config.xml <user name>@<device ip>:/bulk_restore
Backup and Restore via SCP
To back up ALL settings of a PDU, including device-specific settings, you should perform the backup operation instead of
the bulk configuration.
You can restore all settings to previous ones after a backup file is available.
To back up the settings via SCP:
1.
Type the following SCP command and press Enter.
scp <user name>@<device ip>:/backup_settings.xml
•
<user name>
is the "admin" or any user profile with the administrator privileges.
•
<device ip>
is the IP address of the PDU whose settings you want to back up.
2.
Type the user password when prompted.
3.
The system saves the settings from the PDU to a file named "backup_settings.xml."
To restore the settings via SCP:
1.
Type the following SCP command and press Enter.
scp backup_settings.xml <user name>@<device ip>:/settings_restore
•
<user name>
is the "admin" or any user profile with the administrator privileges.
•
<device ip>
is the IP address of the PDU whose settings you want to restore.
2.
Type the user password when prompted.
3.
The system copies the configuration included in the file "backup_settings.xml" to the PDU, and displays the following
message.
Starting restore operation. The connection will be closed now.
SCP examples:
•
Backup operation:
scp admin@192.168.87.50:/backup_settings.xml