|
|
csbackresc
|
|
|
==========
|
|
|
|
|
|
Purpose
|
|
|
-------
|
|
|
In case the seedlink host crashes unexpectedly, the seedlink data archive might remain in a state, where part of the data is missing.
|
|
|
seedlink in such cases might not properly fill the local archive from upstream data acquisition systems.
|
|
|
In such cases local data files on the data archive host should be replaced with the intact data files as present on the upstream systems.
|
... | ... | @@ -19,3 +21,15 @@ In case checksums have already been created in the `checksumfile.cs`-files for f |
|
|
these entries must be removed.
|
|
|
The shell script `csclean.sh` supports this task based on the csbackresc configuration.
|
|
|
Checksums then automatically will be regenerated in the next csback-run.
|
|
|
|
|
|
Application example
|
|
|
-------------------
|
|
|
|
|
|
1. Copy `csbackresc.xml` to `~/.csback` and edit file as appropriate for your installation.
|
|
|
2. Run configuration command:
|
|
|
|
|
|
sysop@pinatubo:~/.csback> csbackresc -l -v -a -c
|
|
|
|
|
|
Execution may take a while.
|
|
|
It is recommended to run the process in a `screen` environment such that
|
|
|
the operator can easily detach and reattach to the interactive shell. |
|
|
\ No newline at end of file |