Perform a log store backup while the project server is not running.
Prerequisites
Before shutting down
Event Stream Processor,
verify the locations of the project files and the type of store defined for each stream.
Procedure
- If you are
backing up a project, use the following command to stop
it:
$STREAMING_HOME/bin/streamingclusteradmin --uri=esp[s]://<cluster-server>:19011 --username=<username> --password=<password> --stop_project <workspace-name>/<project-name> [<instance-number>]
Replace 19011 with your cluster cache
number. For
<username> and
<password>,
enter your user credentials.
Use the
URI protocol esps for clusters that are SSL-enabled;
for clusters that are not, use esp.
Note If you omit the password parameter when you call the
streamingclusteradmin tool,
Event Stream Processor prompts you for the password and hides
it as you type, which improves security.
- If you are backing up a cluster, use streamingclusteradmin to stop the
nodes.
- Back up the .ccl files, the .ccr files, and the log
stores for each project. On Linux and
Solaris systems, use the tar
system utility. On Windows systems, use the
pkzip freeware utility or
equivalent. To find the individual log stores in a project,
follow the path
<base-directory>/<workspace-name>.<project-name>.<instance-number>.