Follow-up commit to format most of the other man pages code.
[oweals/gnunet.git] / doc / man / gnunet-datastore.1
1 .TH gnunet\-datastore "1" "13 April 2017" "GNUnet"
2 .SH NAME
3 gnunet\-datastore \- dump or insert (restore) GNUnet datastore databases
4
5 .SH SYNOPSIS
6 .B gnunet\-datastore
7 [\fIOPTIONS\fR]
8 .SH DESCRIPTION
9 .PP
10
11 gnunet\-datastore can be used to backup and restore or merge GNUnet datastores.
12 This is useful if a datastore is to be migrated between SQL databases, i.e.
13 from sqlite to postgres or vice versa.  gnunet\-datastore will dump the
14 entire contents of the database or insert a dump file into the database.
15
16 .TP
17 \fB\-c \fIFILENAME\fR, \fB\-\-config=FILENAME\fR
18 configuration file to use
19 .TP
20 \fB\-d\fR, \fB\-\-dump\fR
21 dump all records to a file
22 .TP
23 \fB\-f \fIFILENAME\fR, \fB\-\-file=FILENAME\fR
24 file to dump to or insert from.  Otherwise stdin/stdout are used.
25 .TP
26 \fB\-h\fR, \fB\-\-help\fR
27 print help page
28 .TP
29 \fB\-i\fR, \fB\-\-insert\fR
30 insert from dump file
31 .TP
32 \fB\-L \fILOGLEVEL\fR, \fB\-\-loglevel=LOGLEVEL\fR
33 Change the loglevel.  Possible values for LOGLEVEL are ERROR, WARNING, INFO and DEBUG.
34 .TP
35 \fB\-l \fIFILENAME\fR, \fB\-\-logfile=FILENAME\fR
36 configure logging to write logs to FILENAME
37 .TP
38 \fB\-v\fR, \fB\-\-version\fR
39 print the version number
40
41 .SH NOTES
42
43
44 .SH "REPORTING BUGS"
45 Report bugs by using mantis <https://gnunet.org/bugs/> or by sending electronic mail to <gnunet\-developers@gnu.org>
46 .SH "SEE ALSO"
47 \fBgnunet\-publish\fP(1)