Debian Codegraph @

doc/html/_sources/imap/reference/manpages/systemcommands/cvt_cyrusdb.rst.txt

raw
1 .. cyrusman:: cvt_cyrusdb(8)
2
3 .. author: Nic Bernstein (Onlight)
4 .. author: Jeroen van Meeuwen (Kolab Systems)
5
6 .. _imap-reference-manpages-systemcommands-cvt_cyrusdb:
7
8 ===============
9 **cvt_cyrusdb**
10 ===============
11
12 Convert a database file between cyrus database formats
13
14 Synopsis
15 ========
16
17 .. parsed-literal::
18
19 **cvt_cyrusdb** [ **-C** *config-file* ] *old-file* *old-fileformat* *new-file* *new-file-format*
20
21 Description
22 ===========
23
24 **cvt_cyrusdb** is used to convert a cyrusdb file between different
25 database backends. Note that you should not attempt to use the same
26 file for input and output.
27
28 Running without any options will list the available database backends.
29
30 **cvt_cyrusdb** |default-conf-text|
31
32 .. NOTE::
33 Note that the file locations are NOT read out of the configuration
34 file, and must be supplied on the command line.
35
36
37 Options
38 =======
39
40 .. program:: cvt_cyrusdb
41
42 .. option:: -C config-file
43
44 |cli-dash-c-text|
45
46 Examples
47 ========
48
49 .. parsed-literal::
50
51 **cvt_cyrusdb**
52
53 ..
54
55 Display list of available backends.
56
57 .. only:: html
58
59 ::
60
61 Usage: /usr/lib/cyrus/bin/cvt_cyrusdb [-C altconfig] <old db> <old db backend> <new db> <new db backend>
62 Usable Backends: flat, skiplist, quotalegacy
63
64 .. parsed-literal::
65
66 **cvt_cyrusdb** /var/lib/imap/mailboxes.db skiplist /tmp/mailboxes.db berkeley-nosync
67
68 ..
69
70 Convert */var/lib/imap/mailboxes.db* from **skiplist** format to
71 */tmp/mailboxes.db* in **berkeley-nosync** format.
72
73 .. only:: html
74
75 ::
76
77 Converting from /var/lib/imap/mailboxes.db (skiplist) to /tmp/mailboxes.db (berkeley-nosync)
78
79 Files
80 =====
81
82 /etc/imapd.conf
83
84 See Also
85 ========
86
87 :cyrusman:`imapd.conf(5)`