|
|
csbackresc
|
|
|
==========
|
|
|
|
|
|
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.
|
|
|
This has to be done outside the seedlink protocol transport mechanism, most appropriately through ssh and scp.
|
|
|
|
|
|
`csbackresc.py` supports the operator in this task.
|
|
|
An XML control file defines the upstream systems to be checked.
|
|
|
See online usage information provided by the program.
|
|
|
|
|
|
The tool first is run in configuration mode.
|
|
|
In this step status files are prepared in `~/.csback/seedlink.tmp/`.
|
|
|
In the then following replacement step files with differing checksums are replaced on the data archive host.
|
|
|
Usually this step has to be confirmed for each single file.
|
|
|
|
|
|
In case checksums have already been created in the `checksumfile.cs`-files for files which have been replaced,
|
|
|
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. |