This section describes the backup management maintenance commands.
NAME
swstsrsemtch - recovers resource information
SYNOPSIS
<program-directory>\bin\swstsrsemtch [-x]
<program-directory>\bin\swstsrsemtch [-x] [-h Server-Name]
DESCRIPTION
This command recovers resource information if a system failure, etc. has made the resource information inconsistent.
In the case of MSCS or WSFC operation, this command performs automatic configuration of the maintenance mode of the physical disk resources to which the volume belongs with pre- and post-processing.For more information, refer to "14.1.6.1 When Using MSCS or WSFC for Cluster Operation".
OPTIONS
When executing on the Management Server, specify the name of the target Managed Server.
When executing on the target Managed server, it is not necessary to specify this option.
For the server name, accurately specify the same letters, including upper and lower case, as the server name displayed with the stgxfwcmdispsrv command.
Achieves consistency with a repository. Specify this option if a backup management files and a repository become inconsistent.
EXIT STATUS
=0: Completed successfully
>0: Terminated abnormally
EXAMPLES
Recover resource information:
C:\>C:\Win32app\AdvancedCopyManager\bin\swstsrsemtch swstsrsemtch completed C:\>
NOTES
This command can only be executed if none of the following commands are running:
This command cannot be executed in cases when it was not possible to turn the maintenance mode of the physical disk resource ON.
NAME
swstresback - backup of backup management file and recovery control file
SYNOPSIS
<program-directory>\bin\swstresback Backup-Directory
DESCRIPTION
A backup management file and a recovery control file are backed up to the specified directory.
Backup management file
Management information, such as Managed Server configuration information
Recovery control file
File that was created when backing up Symfoware database spaces
The information backed up by this command can be restored by the swstresrst command.
Note that with this command, a replication management file is not backed up.
OPERANDS
Specifies the name of a directory to which the backup management file and the recovery control file will be saved.
EXIT STATUS
=0: Completed successfully
>0: Terminated abnormally
EXAMPLES
Backup of the backup management file and the recovery control file:
C:\>C:\Win32app\AdvancedCopyManager\bin\swstresback C:\backup swstresback completed C:\>
NOTES
You cannot perform backup if:
The specified directory does not exist.
Copying of data to the specified directory failed because of insufficient free space, etc.
This command can be executed only while none of the following commands are running:
NAME
swstresrst - restore of backup management file and recovery control file
SYNOPSIS
<program-directory>\bin\swstresrst Backup-Directory
DESCRIPTION
A backup management file and a recovery control file are restored from the specified directory.
Managed resources information
Management information, such as Managed Server configuration information
Recovery control file
File that was created when backing up Symfoware database spaces
OPERANDS
The backup location directory name directed by the swstresback command is specified.
EXIT STATUS
=0: Completed successfully
>0: Terminated abnormally
EXAMPLES
Restore the backup management file and the recovery control file:
C:\>C:\Win32app\AdvancedCopyManager\bin\swstresrst C:\backup swstresrst completed C:\>
NOTES
Before the backup management file and the recovery control file is restored by this command, the swstsvrset command must be executed. For the name of the target directory for output of the recovery control file that is specified by the -c option of the swstsvrset command, specify the directory that was set when you performed the resource backup.
You cannot perform restoration if:
The specified directory does not exist.
No backup management files exist in the specified directory.
Copying of data from the specified directory for restoration failed because of insufficient free space, or for some other reason.
This command can be executed only while none of the following commands are running: