Scroll to navigation

S3QLADM(1) S3QL S3QLADM(1)

NAME

s3qladm - Manage S3QL file systems

SYNOPSIS

s3qladm [options] <action> <storage url>


where action may be either of passphrase, restore-metadata, clear, recover-key or upgrade.

DESCRIPTION

S3QL is a file system for online data storage. Before using S3QL, make sure to consult the full documentation (rather than just the man pages which only briefly document the available userspace commands).

The s3qladm command performs various operations on unmounted S3QL file systems. The file system must not be mounted when using s3qladm or things will go wrong badly.

The storage url depends on the backend that is used. The S3QL User's Guide should be consulted for a description of the available backends.

OPTIONS

The s3qladm command accepts the following options.

Read authentication credentials from this file (default: ~/.s3ql/authinfo2)
--debug-modules <modules>
Activate debugging output from specified modules (use commas to separate multiple modules, 'all' for everything). Debug messages will be written to the target specified by the --log option.
Activate debugging output from all S3QL modules. Debug messages will be written to the target specified by the --log option.
be really quiet
Destination for log messages. Specify none for standard output or syslog for the system logging daemon. Anything else will be interpreted as a file name. Log files will be rotated when they reach 1 MiB, and at most 5 old log files will be kept. Default: None
Backend specific options (separate by commas). See backend documentation for available options.
Store cached data in this directory (default: ~/.s3ql)
just print program version and exit



Hint: run s3qladm <action> --help to get help on the additional arguments that the different actions take.

ACTIONS

The following actions may be specified. Please consult the S3QL User's Guide for more detailed information.

Changes the encryption passphrase of the file system.
Interactively restore backups of the file system metadata.
Delete the file system with all the stored data.
Recover master encryption key from external backup.
Upgrade the file system to the newest revision.

EXIT CODES

s3qladm may terminate with the following exit codes:

0
Everything went well.
1
An unexpected error occurred. This may indicate a bug in the program.
2
Invalid command line argument or configuration file key.

3
Invalid backend option.
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.
45
Unable to access cache directory.

SEE ALSO

The S3QL homepage is at https://github.com/s3ql/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.

COPYRIGHT

© 2008 Nikolaus Rath <Nikolaus@rath.org>

November 2, 2024 5.2.3