Merge Smartstor source directory into a different destination directory

Document ID : KB000020095
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

Following a recent upgrade, we have old and new smartstor directories. Is there a way to merge the data into the new smartstor directory?

Solution:

Use the Smartstor tools to merge the data as documented in the CA APM Configuration and Administration Guide, Chapter 4 - Configuring Enterprise Manager Databases -Section Using Smartstor tools to tune Smartstor data

Merges a specified SmartStor source directory into a different destination directory.
Arguments:

<destination SmartStor directory>
-help Prints a help message
<source SmartStor directory>

Examples:
Windows:
SmartStorTools.bat merge <source directory> <destination directory>

For example:
SmartStorTools.bat merge <EM_Home>\data C:\data

When the command executes successfully, all the SmartStor data present in thesource directory is merged with the data in the destination directory.

UNIX:
SmartStorTools.sh merge <source directory> <destination directory>