NAME
swsrpdbinfo_exchange - registers or deletes information about a storage group or database.
SYNOPSIS
<program-directory>\bin\swsrpdbinfo_exchange [-dbname databaseName]
<program-directory>\bin\swsrpdbinfo_exchange -clean
<program-directory>\bin\swsrpdbinfo_exchange -delete [-dbname databaseName]
DESCRIPTION
This command registers or deletes information about a storage group or database.
The command is used before Exchange Server backup/restore is performed, or after the file configuration of a storage group (database) is changed.
Executing the command registers or deletes information about the files that constitute a storage group (database) and information on AdvancedCopy Manager device names. (The files that constitute a storage group include mailbox store and public folder store database files, transaction files, and checkpoint file.)
OPTIONS
Specifies the database name.
If this option is omitted when registering the Exchange Server database information, information on all databases are registered.
If this option is omitted when deleting the Exchange Server database information with -delete option, information on all databases are deleted.
If the database name contains a space, enclose it with double quotes.
Specifies when deleting information of the database that is not mounted or does not exist.
If you delete the database information, execute this command after deleting the Exchange Server database information.
Specifies when deleting information of the registered storage groups or database whether or not they are mounted.
EXIT STATUS
=0: Completed successfully
>0: Terminated abnormally
EXAMPLES
Register storage group FirstStorageGroup:
C:\>C:\Win32App\AdvancedCopyManager\bin\swsrpdbinfo_exchange -sgname FirstStorageGroup swsrpdbinfo_exchange successfully completed C:\>
Delete unnecessary storage group information:
C:\>C:\Win32App\AdvancedCopyManager\bin\swsrpdbinfo_exchange -clean swsrpdbinfo_exchange successfully completed C:\>
Register database MailBox1:
C:\>C:\Win32App\AdvancedCopyManager\bin\swsrpdbinfo_exchange -dbname MailBox1 swsrpdbinfo_exchange successfully completed C:\>
Delete unnecessary storage group information or database information:
C:\>C:\Win32App\AdvancedCopyManager\bin\swsrpdbinfo_exchange -clean swsrpdbinfo_exchange successfully completed C:\>
Delete the database MailBox2, regardless of the database status:
C:\>C:\Win32App\AdvancedCopyManager\bin\swsrpdbinfo_exchange -delete -dbname MailBox2 swsrpdbinfo_exchange successfully completed C:\>
NOTES
The command cannot register database information if:
The specified storage group does not exist.
The specified database does not exist.
Mount databases before execute this command.
This command cannot be executed while one of the following commands is in execution: