HELP: Check consistency of the archive TYPE: OBJECT SYNTAX: CHECK(NET.{},STORE/SAVE.{},DECRYPT.{},LEVEL=INDEX/DATA/VERIFY,MAXERR=num,LOGGING.{},MESSAGE(),NORUN)
The CHECK subcommand can be used to check a FLAM archive for consistency. It determines whether all segments that are referenced are still available and reports whether there are segments that still exist but are no longer referenced. The consistency check of an archive should never lead to an error.
Two levels are supported. By default, only the index is checked. If you also want to check the existence of the segments on storage backend, you must set the LEVEL to DATA. By doing so, all segments are retrieved from the storage backed to check whether the segments really exist. However, this is a very expensive operation, especially in a cloud environment, and is therefore not the default.
If there are errors in an archive, then you can read the rest of the archive by activating the REPAIR switch in the DECO or COPY subcommands. This ignores all segments that can no longer be accessed or that can no longer be unpacked, so that the rest of the data is restored as well as possible.
To get syntax information, please use:
flcl SYNTAX ARCHIVE.CHECK
To get help for a parameter, please use:
flcl HELP ARCHIVE.CHECK.parameter[.parameter[...]]
To read the manual page for a parameter, please use:
flcl MANPAGE ARCHIVE.CHECK.parameter[.parameter[...]] or flcl HELP ARCHIVE.CHECK.parameter[.parameter[...]] MAN
To generate the user manual for the command, please use:
flcl GENDOCU ARCHIVE.CHECK=filename
Parameters can be defined via command line (directly or by parameter file) or via properties taken from the corresponding property file.
NUMBER: LEVEL=INDEX/DATA/VERIFY - Define the depth of the check [INDEX]
INDEX - Check only the index (don't access the data segments)
DATA - Check if data segments also exists (expansive in a cloud environment)
VERIFY - Check if data segments also exists (expansive in a cloud environment) and verify checksums
NUMBER: MAXERR=num - Maximum amount of errors logged [1000]
SWITCH: NORUN - Don't run the command, only show parsed parameter