CYRUS-CYR_DBTOOL(8) - Linux man page online | Administration and privileged commands

Manage Cyrus databases.

Project Cyrus
CYR_DBTOOL(8) System Manager's Manual CYR_DBTOOL(8)


cyr_dbtool - manage Cyrus databases


cyr_dbtool [ -C config-file ] [ -M ] [ -n ] [ -o ] [ -T ] <db file> <db backend> <action> [ <key> ] [ <value> ]


cyr_dbtool is used to manage a cyrusdb file. The usable actions are: show [<prefix>] get <key> set <key> <value> delete <key> consistency repack You may omit key or key/value and specify one per line on stdin. Keys are terminated by tab or newline, values are terminated by newline. Running without any options will list the available database backends and usable actions. The 'consistency' command runs a consistency check on the DB by calling The 'repack' command will compress the database by removing stale data on backends which support it. It's a NOOP otherwise. cyr_dbtool reads any applicable configuration options out of the imapd.conf(5) file unless specified otherwise by -C. note that the file locations are NOT read out of the configu‐ ration file, and must be supplied on the command line.


-C config-file Read configuration options from config-file. -M Uses improved MBOX list sort. -n Create the database file if it doesn't already exist. -o Store all the output in memory and only print it once the transaction is completed. -T Use a transaction to do the action (most especially for 'show') - the default used to be transactions.




CMU Project Cyrus CYR_DBTOOL(8)
This manual Reference Other manuals
cyrus-cyr_dbtool(8) referred by
refer to imapd.conf(5)
Download raw manual
Main page System Manager's Manual (+2060) CMU (+52) № 8 (+5755)
Go top