s3ql_verify [options] <storage url>
The s3ql_verify command verifies all data in the file system. In contrast to fsck.s3ql, s3ql_verify does not trust the object listing returned by the backend, but actually attempts to retrieve every object. It therefore takes a lot longer.
The format of <storage url> depends on the backend that is used. The S3QL User’s Guide should be consulted for a description of the available backends.
The s3ql_verify command accepts the following options.
--debug-modules <modules> Activate debugging output from specified modules (use commas to separate multiple modules). --debug Activate debugging output from all S3QL modules. --quiet be really quiet --version just print program version and exit --cachedir <path> Store cached data in this directory (default: ~/.s3ql) --authfile <path> Read authentication credentials from this file (default: ~/.s3ql/authinfo2) --no-ssl Do not use secure (ssl) connections when connecting to remote servers. --ssl-ca-path path File or directory or containing the trusted CA certificates. If not specified, the defaults compiled into the system’s OpenSSL library are used. --missing-file MISSING_FILE File to store keys of missing objects. --corrupted-file CORRUPTED_FILE File to store keys of corrupted objects. --data Read every object completely, instead of checking just the metadata. --parallel PARALLEL Number of connections to use in parallel. --start-with <n> Skip over first <n> objects and with verifying object <n>+1.
s3ql_verify may terminate with the following exit codes:
0: | Everything went well. |
---|---|
1: | An unexpected error occured. This may indicate a bug in the program. |
2: | Invalid command line argument. |
10: | Could not open log file for writing. |
11: | No such backend. |
12: | Authentication file has insecure permissions. |
13: | Unable to parse proxy settings. |
14: | Invalid credentials (Authentication failed). |
15: | No permission to access backend (Authorization denied). |
16: | Invalid storage URL, specified location does not exist in backend. |
17: | Wrong file system passphrase. |
18: | No S3QL file system found at given storage URL. |
19: | Unable to connect to backend, can’t resolve hostname. |
32: | Unsupported file system revision (too old). |
33: | Unsupported file system revision (too new). |
45: | Unable to access cache directory. |
46: | The file system data was verified, and some objects were found to be missing or corrupted. |
The S3QL homepage is at https://bitbucket.org/nikratio/s3ql/.
The full S3QL documentation should also be installed somewhere on your system, common locations are /usr/share/doc/s3ql or /usr/local/doc/s3ql.