Deleting Backup Configuration Files Using The Cli - IBM Storwize V7000 Unified Problem Determination Manual

Table of Contents

Advertisement

The svcconfig backup CLI command creates three files that provide
information about the backup process and the configuration. These files are
created in the /dumps directory of the configuration node canister.
The following table describes the three files that are created by the backup
process:
File name
svc.config.backup.xml_<serial#>
svc.config.backup.sh_<serial#>
svc.config.backup.log_<serial#>
3. Check that the svcconfig backup command completes successfully, and
examine the command output for any warnings or errors. The following output
is an example of the message that is displayed when the backup process is
successful:
CMMVC6155I SVCCONFIG processing completed successfully.
If the process fails, resolve the errors, and run the command again.
4. Keep backup copies of the files above outside the system to protect them
against a system hardware failure. Copy the backup files off the system to a
secure location using either the management GUI or scp command line. For
example:
pscp -unsafe superuser@cluster_ip:/dumps/svc.config.backup.*
/offclusterstorage/
The cluster_ip is the IP address or DNS name of the system and
offclusterstorage is the location where you want to store the backup files.
Tip: To maintain controlled access to your configuration data, copy the backup
files to a location that is password-protected.

Deleting backup configuration files using the CLI

You can use the command-line interface (CLI) to delete backup configuration files.
About this task
Perform the following steps to delete backup configuration files:
Procedure
1. Issue the following command to log on to the system:
plink -i ssh_private_key_file superuser@control_enclosure_management_ip
where ssh_private_key_file is the name of the SSH private key file for the
superuser and control_enclosure_management_ip is the IP address or DNS name
of the system from which you want to delete the configuration.
2. Issue the following CLI command to erase all of the files that are stored in the
/tmp directory:
svconfig clear -all
Description
Contains your configuration data.
Contains the names of the commands that
were issued to create the backup of the
system.
Contains details about the backup, including
any reported errors or warnings.
Chapter 5. Control enclosure
255

Advertisement

Table of Contents
loading

Table of Contents