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.
OPTIONS
Specifies a Managed Server name.
This option can be specified only on a Management Server.
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:
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 swstresrst (Resource restore 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 swstresback (Resource backup 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, swstsvrset (Managed Server configuration information setting 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 swstsvrset (Managed Server configuration information setting 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: