doveadm-fs (1)
Leading comments
Copyright (c) 2016 Dovecot authors, see the included COPYING file
NAME
doveadm-fs - Interact with the abstract mail storage filesystemSYNOPSIS
doveadm [-Dv] [-f formatter] fs command [ARGUMENTS]DESCRIPTION
The doveadm fs commands are used to abstractly interact with the storage backend defined in the Dovecot configuration. It allows access to the mailbox structure without needing to know details of how the storage backend is architected.OPTIONS
Global doveadm(1) options:- -D
- Enables verbosity and debug messages.
- -f formatter
-
Specifies the
formatter
for formatting the output.
Supported formatters are:
-
- flow
- prints each line with key=value pairs.
- pager
- prints each key: value pair on its own line and separates records with form feed character (^L).
- tab
- prints a table header followed by tab separated value lines.
- table
- prints a table header followed by adjusted value lines.
-
- -o setting=value
- Overrides the configuration setting from /etc/dovecot/dovecot.conf and from the userdb with the given value. In order to override multiple settings, the -o option may be specified multiple times.
- -v
- Enables verbosity, including progress counter.
This command uses by default the table output formatter.
COMMANDS
fs copy
doveadm fs copy fs-driver fs-args source-path dest-pathCopy source path to the destination path.
fs delete
doveadm fs delete [-R] [-n count] fs-driver fs-args path [path ...]Delete all data associated with the path provided.
fs get
doveadm fs get fs-driver fs-args pathRetrieve data associated with the path provided.
fs iter
doveadm fs iter fs-driver fs-args pathIterate through all data files in the path provided.
fs iter-dirs
doveadm fs iter-dirs fs-driver fs-args pathIterate through all directories in the path provided.
fs put
doveadm fs put [-h hash] fs-driver fs-args input_path pathStore data at the path provided.
fs stat
doveadm fs stat fs-driver fs-args pathRetrieve files status for the path provided. Currently, only the total size (in bytes) of the item is returned.