diff options
-rw-r--r-- | doc/man/gnunet-datastore.1 | 51 |
1 files changed, 26 insertions, 25 deletions
diff --git a/doc/man/gnunet-datastore.1 b/doc/man/gnunet-datastore.1 index 10e82b258..fede02185 100644 --- a/doc/man/gnunet-datastore.1 +++ b/doc/man/gnunet-datastore.1 | |||
@@ -6,18 +6,18 @@ | |||
6 | .\" any later version published by the Free Software Foundation; with no | 6 | .\" any later version published by the Free Software Foundation; with no |
7 | .\" Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A | 7 | .\" Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A |
8 | .\" copy of the license is included in the file | 8 | .\" copy of the license is included in the file |
9 | .\" ``FDL-1.3''. | 9 | .\" FDL-1.3. |
10 | .\" | 10 | .\" |
11 | .\" A copy of the license is also available from the Free Software | 11 | .\" A copy of the license is also available from the Free Software |
12 | .\" Foundation Web site at @url{http://www.gnu.org/licenses/fdl.html}. | 12 | .\" Foundation Web site at http://www.gnu.org/licenses/fdl.html. |
13 | .\" | 13 | .\" |
14 | .\" Alternately, this document is also available under the General | 14 | .\" Alternately, this document is also available under the General |
15 | .\" Public License, version 3 or later, as published by the Free Software | 15 | .\" Public License, version 3 or later, as published by the Free Software |
16 | .\" Foundation. A copy of the license is included in the file | 16 | .\" Foundation. A copy of the license is included in the file |
17 | .\" ``GPL3''. | 17 | .\" GPL3. |
18 | .\" | 18 | .\" |
19 | .\" A copy of the license is also available from the Free Software | 19 | .\" A copy of the license is also available from the Free Software |
20 | .\" Foundation Web site at @url{http://www.gnu.org/licenses/gpl.html}. | 20 | .\" Foundation Web site at http://www.gnu.org/licenses/gpl.html. |
21 | .\" | 21 | .\" |
22 | .\" SPDX-License-Identifier: GPL3.0-or-later OR FDL1.3-or-later | 22 | .\" SPDX-License-Identifier: GPL3.0-or-later OR FDL1.3-or-later |
23 | .\" | 23 | .\" |
@@ -26,47 +26,48 @@ | |||
26 | .Os | 26 | .Os |
27 | .Sh NAME | 27 | .Sh NAME |
28 | .Nm gnunet-datastore | 28 | .Nm gnunet-datastore |
29 | .Nd | 29 | .Nd dump or insert (restore) GNUnet datastore databases |
30 | dump or insert (restore) GNUnet datastore databases | ||
31 | .Sh SYNOPSIS | 30 | .Sh SYNOPSIS |
32 | .Nm | 31 | .Nm |
33 | .Op Fl c Ar FILENAME | Fl \-config= Ns Ar FILENAME | 32 | .Op Fl c Ar FILENAME | Fl -config= Ns Ar FILENAME |
34 | .Op Fl d | \-dump | 33 | .Op Fl d | -dump |
35 | .Op Fl f Ar FILENAME | Fl \-file= Ns Ar FILENAME | 34 | .Op Fl f Ar FILENAME | Fl \-file= Ns Ar FILENAME |
36 | .Op Fl h | \-help | 35 | .Op Fl h | -help |
37 | .Op Fl i | \-insert | 36 | .Op Fl i | -insert |
38 | .Op Fl L Ar LOGLEVEL | Fl \-loglevel= Ns Ar LOGLEVEL | 37 | .Op Fl L Ar LOGLEVEL | Fl -loglevel= Ns Ar LOGLEVEL |
39 | .Op Fl l Ar FILENAME | Fl \-logfile= Ns Ar FILENAME | 38 | .Op Fl l Ar FILENAME | Fl -logfile= Ns Ar FILENAME |
40 | .Op Fl v | \-version | 39 | .Op Fl v | -version |
41 | .Sh DESCRIPTION | 40 | .Sh DESCRIPTION |
42 | .Nm | 41 | .Nm |
43 | can be used to backup and restore or merge GNUnet datastores. | 42 | can be used to backup and restore or merge GNUnet datastores. |
44 | This is useful if a datastore is to be migrated between SQL databases, i.e. from sqlite to postgres or vice versa. | 43 | This is useful if a datastore is to be migrated between |
45 | gnunet-datastore will dump the entire contents of the database or insert a dump file into the database. | 44 | SQL databases, i.e. from sqlite to postgres or vice versa. |
46 | .Bl -tag -width Ds | 45 | gnunet-datastore will dump the entire contents of the database |
47 | .It Fl c Ar FILENAME | Fl \-config= Ns Ar FILENAME | 46 | or insert a dump file into the database. |
47 | .Bl -tag -width indent | ||
48 | .It Fl c Ar FILENAME | Fl -config= Ns Ar FILENAME | ||
48 | Configuration file to use | 49 | Configuration file to use |
49 | .It Fl d | \-dump | 50 | .It Fl d | -dump |
50 | Dump all records to a file | 51 | Dump all records to a file |
51 | .It Fl f Ar FILENAME | Fl \-file= Ns Ar FILENAME | 52 | .It Fl f Ar FILENAME | Fl -file= Ns Ar FILENAME |
52 | File to dump to or insert from. | 53 | File to dump to or insert from. |
53 | Otherwise stdin/stdout are used. | 54 | Otherwise stdin/stdout are used. |
54 | .It Fl h | \-help | 55 | .It Fl h | -help |
55 | Print the help page. | 56 | Print the help page. |
56 | .It Fl i | \-insert | 57 | .It Fl i | -insert |
57 | Insert from dump file. | 58 | Insert from dump file. |
58 | .It Fl L Ar LOGLEVEL | Fl \-loglevel= Ns Ar LOGLEVEL | 59 | .It Fl L Ar LOGLEVEL | Fl -loglevel= Ns Ar LOGLEVEL |
59 | Change the loglevel. | 60 | Change the loglevel. |
60 | Possible values for LOGLEVEL are ERROR, WARNING, INFO and DEBUG. | 61 | Possible values for LOGLEVEL are ERROR, WARNING, INFO and DEBUG. |
61 | .It Fl l Ar FILENAME | Fl \-logfile= Ns Ar FILENAME | 62 | .It Fl l Ar FILENAME | Fl -logfile= Ns Ar FILENAME |
62 | Configure logging to write logs to FILENAME | 63 | Configure logging to write logs to FILENAME |
63 | .It Fl v | \-version | 64 | .It Fl v | -version |
64 | Print the version number | 65 | Print the version number |
65 | .El | 66 | .El |
66 | .\".Sh EXAMPLES | 67 | .\".Sh EXAMPLES |
67 | .Sh SEE ALSO | 68 | .Sh SEE ALSO |
68 | .Xr gnunet-publish 1 | 69 | .Xr gnunet-publish 1 |
69 | .sp | 70 | .Pp |
70 | The full documentation for gnunet is maintained as a Texinfo manual. | 71 | The full documentation for gnunet is maintained as a Texinfo manual. |
71 | If the | 72 | If the |
72 | .Xr info 1 | 73 | .Xr info 1 |