aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/man/gnunet-datastore.1124
1 files changed, 65 insertions, 59 deletions
diff --git a/doc/man/gnunet-datastore.1 b/doc/man/gnunet-datastore.1
index 5dd8cec52..0f43cc016 100644
--- a/doc/man/gnunet-datastore.1
+++ b/doc/man/gnunet-datastore.1
@@ -1,63 +1,69 @@
1.TH GNUNET-DATASTORE "1" "April 13, 2017" "GNUnet" 1.Dd April 13, 2017
2.SH NAME 2.Dt GNUNET-DATASTORE 1
3gnunet\-datastore \- dump or insert (restore) GNUnet datastore databases 3.Os
4.SH SYNOPSIS 4.Sh NAME
5.B gnunet\-datastore 5.Nm gnunet-datastore
6[\fIOPTIONS\fR] 6.Nd
7.SH DESCRIPTION 7dump or insert (restore) GNUnet datastore databases
8gnunet\-datastore can be used to backup and restore or merge GNUnet 8.Sh SYNOPSIS
9datastores. 9.Nm
10This is useful if a datastore is to be migrated between SQL databases, 10.Op Fl c Ar FILENAME | Fl \-config= Ns Ar FILENAME
11i.e. from sqlite to postgres or vice versa. 11.Op Fl d | \-dump
12gnunet\-datastore will dump the entire contents of the database or 12.Op Fl f Ar FILENAME | Fl \-file= Ns Ar FILENAME
13insert a dump file into the database. 13.Op Fl h | \-help
14.TP 14.Op Fl i | \-insert
15\fB\-c \fIFILENAME\fR, \fB\-\-config=FILENAME\fR 15.Op Fl L Ar LOGLEVEL | Fl \-loglevel= Ns Ar LOGLEVEL
16configuration file to use 16.Op Fl l Ar FILENAME | Fl \-logfile= Ns Ar FILENAME
17.TP 17.Op Fl v | \-version
18\fB\-d\fR, \fB\-\-dump\fR 18.Sh DESCRIPTION
19dump all records to a file 19.Nm
20.TP 20can be used to backup and restore or merge GNUnet datastores.
21\fB\-f \fIFILENAME\fR, \fB\-\-file=FILENAME\fR 21This is useful if a datastore is to be migrated between SQL databases, i.e. from sqlite to postgres or vice versa.
22file to dump to or insert from. Otherwise stdin/stdout are used. 22gnunet-datastore will dump the entire contents of the database or insert a dump file into the database.
23.TP 23.Bl -tag -width Ds
24\fB\-h\fR, \fB\-\-help\fR 24.It Fl c Ar FILENAME | Fl \-config= Ns Ar FILENAME
25Configuration file to use
26.It Fl d | \-dump
27Dump all records to a file
28.It Fl f Ar FILENAME | Fl \-file= Ns Ar FILENAME
29File to dump to or insert from.
30Otherwise stdin/stdout are used.
31.It Fl h | \-help
25print help page 32print help page
26.TP 33.It Fl i | \-insert
27\fB\-i\fR, \fB\-\-insert\fR 34Insert from dump file.
28insert from dump file 35.It Fl L Ar LOGLEVEL | Fl \-loglevel= Ns Ar LOGLEVEL
29.TP 36Change the loglevel.
30\fB\-L \fILOGLEVEL\fR, \fB\-\-loglevel=LOGLEVEL\fR 37Possible values for LOGLEVEL are ERROR, WARNING, INFO and DEBUG.
31Change the loglevel. Possible values for LOGLEVEL are ERROR, WARNING, INFO and DEBUG. 38.It Fl l Ar FILENAME | Fl \-logfile= Ns Ar FILENAME
32.TP 39Configure logging to write logs to FILENAME
33\fB\-l \fIFILENAME\fR, \fB\-\-logfile=FILENAME\fR 40.It Fl v | \-version
34configure logging to write logs to FILENAME 41Print the version number
35.TP 42.El
36\fB\-v\fR, \fB\-\-version\fR 43.\".Sh EXAMPLES
37print the version number 44.Sh SEE ALSO
38.SH BUGS 45.Xr gnunet-publish 1
39Report bugs by using mantis <https://bugs.gnunet.org/> or by sending 46.sp
40electronic mail to <gnunet\-developers@gnu.org> 47The full documentation for gnunet is maintained as a Texinfo manual.
41.SH SEE ALSO
42\fBgnunet\-publish\fP(1)
43.PP
44The full documentation for
45.B gnunet
46is maintained as a Texinfo manual.
47If the 48If the
48.B info 49.Xr info 1
49and 50and gnunet programs are properly installed at your site, the command
50.B gnunet 51.Pp
51programs are properly installed at your site, the command 52.Dl info gnunet
52.IP 53.Pp
53.B info gnunet
54.PP
55should give you access to the complete handbook, 54should give you access to the complete handbook,
56.IP 55.Pp
57.B info gnunet-c-tutorial 56.Dl info gnunet-c-tutorial
58.PP 57.Pp
59will give you access to a tutorial for developers. 58will give you access to a tutorial for developers.
60.PP 59.sp
61Depending on your installation, this information is also 60Depending on your installation, this information is also available in
62available in 61.Xr gnunet 7 and
63\fBgnunet\fP(7) and \fBgnunet-c-tutorial\fP(7). 62.Xr gnunet-c-tutorial 7 .
63.\".Sh HISTORY
64.\".Sh AUTHORS
65.Sh BUGS
66Report bugs by using
67.Lk https://bugs.gnunet.org
68or by sending electronic mail to
69.Aq Mt gnunet-developers@gnu.org .