summaryrefslogtreecommitdiff
path: root/doc/man/gnunet-datastore.1
blob: 6bba7fb470c22747a1499cbb75e08516747763e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
.TH gnunet\-datastore "1" "13 April 2017" "GNUnet"
.SH NAME
gnunet\-datastore \- dump or insert (restore) GNUnet datastore databases

.SH SYNOPSIS
.B gnunet\-datastore
[\fIOPTIONS\fR]
.SH DESCRIPTION
.PP

gnunet\-datastore can be used to backup and restore or merge GNUnet datastores.
This is useful if a datastore is to be migrated between SQL databases, i.e.
from sqlite to postgres or vice versa.  gnunet\-datastore will dump the
entire contents of the database or insert a dump file into the database.

.TP
\fB\-c \fIFILENAME\fR, \fB\-\-config=FILENAME\fR
configuration file to use
.TP
\fB\-d\fR, \fB\-\-dump\fR
dump all records to a file
.TP
\fB\-f \fIFILENAME\fR, \fB\-\-file=FILENAME\fR
file to dump to or insert from.  Otherwise stdin/stdout are used.
.TP
\fB\-h\fR, \fB\-\-help\fR
print help page
.TP
\fB\-i\fR, \fB\-\-insert\fR
insert from dump file
.TP
\fB\-L \fILOGLEVEL\fR, \fB\-\-loglevel=LOGLEVEL\fR
Change the loglevel.  Possible values for LOGLEVEL are ERROR, WARNING, INFO and DEBUG.
.TP
\fB\-l \fIFILENAME\fR, \fB\-\-logfile=FILENAME\fR
configure logging to write logs to FILENAME
.TP
\fB\-v\fR, \fB\-\-version\fR
print the version number

.SH NOTES


.SH "REPORTING BUGS"
Report bugs by using mantis <https://gnunet.org/bugs/> or by sending electronic mail to <gnunet\-developers@gnu.org>
.SH "SEE ALSO"
\fBgnunet\-publish\fP(1)