5.1.2.10. cvt_cyrusdb

Convert a database file between cyrus database formats

5.1.2.10.1. Synopsis

cvt_cyrusdb [ -C config-file ] old-file old-fileformat new-file new-file-format

5.1.2.10.2. Description

cvt_cyrusdb is used to convert a cyrusdb file between different database backends. Note that you should not attempt to use the same file for input and output.

Running without any options will list the available database backends.

cvt_cyrusdb reads its configuration options out of the imapd.conf(5) file unless specified otherwise by -C.

Note

Note that the file locations are NOT read out of the configuration file, and must be supplied on the command line.

5.1.2.10.3. Options

-C config-file

Use the specified configuration file config-file rather than the default imapd.conf(5).

5.1.2.10.4. Examples

cvt_cyrusdb
Display list of available backends.
Usage: /usr/lib/cyrus/bin/cvt_cyrusdb [-C altconfig] <old db> <old db backend> <new db> <new db backend>
Usable Backends:  flat, skiplist, quotalegacy
cvt_cyrusdb /var/lib/imap/mailboxes.db skiplist /tmp/mailboxes.db berkeley-nosync
Convert /var/lib/imap/mailboxes.db from skiplist format to /tmp/mailboxes.db in berkeley-nosync format.
Converting from /var/lib/imap/mailboxes.db (skiplist) to /tmp/mailboxes.db (berkeley-nosync)

5.1.2.10.5. Files

/etc/imapd.conf

5.1.2.10.6. See Also

imapd.conf(5)