aboutsummaryrefslogtreecommitdiff
path: root/doc/man/gnunet-datastore.1
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/gnunet-datastore.1')
-rw-r--r--doc/man/gnunet-datastore.151
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
30dump 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
43can be used to backup and restore or merge GNUnet datastores. 42can be used to backup and restore or merge GNUnet datastores.
44This is useful if a datastore is to be migrated between SQL databases, i.e. from sqlite to postgres or vice versa. 43This is useful if a datastore is to be migrated between
45gnunet-datastore will dump the entire contents of the database or insert a dump file into the database. 44SQL databases, i.e. from sqlite to postgres or vice versa.
46.Bl -tag -width Ds 45gnunet-datastore will dump the entire contents of the database
47.It Fl c Ar FILENAME | Fl \-config= Ns Ar FILENAME 46or insert a dump file into the database.
47.Bl -tag -width indent
48.It Fl c Ar FILENAME | Fl -config= Ns Ar FILENAME
48Configuration file to use 49Configuration file to use
49.It Fl d | \-dump 50.It Fl d | -dump
50Dump all records to a file 51Dump 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
52File to dump to or insert from. 53File to dump to or insert from.
53Otherwise stdin/stdout are used. 54Otherwise stdin/stdout are used.
54.It Fl h | \-help 55.It Fl h | -help
55Print the help page. 56Print the help page.
56.It Fl i | \-insert 57.It Fl i | -insert
57Insert from dump file. 58Insert 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
59Change the loglevel. 60Change the loglevel.
60Possible values for LOGLEVEL are ERROR, WARNING, INFO and DEBUG. 61Possible 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
62Configure logging to write logs to FILENAME 63Configure logging to write logs to FILENAME
63.It Fl v | \-version 64.It Fl v | -version
64Print the version number 65Print 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
70The full documentation for gnunet is maintained as a Texinfo manual. 71The full documentation for gnunet is maintained as a Texinfo manual.
71If the 72If the
72.Xr info 1 73.Xr info 1