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.124
1 files changed, 15 insertions, 9 deletions
diff --git a/doc/man/gnunet-datastore.1 b/doc/man/gnunet-datastore.1
index 14372a49b..1605006b3 100644
--- a/doc/man/gnunet-datastore.1
+++ b/doc/man/gnunet-datastore.1
@@ -1,6 +1,6 @@
1.TH gnunet\-datastore "1" "30 May 2013" "GNUnet" 1.TH gnunet\-datastore "1" "13 April 2017" "GNUnet"
2.SH NAME 2.SH NAME
3gnunet\-datastore \- merge or convert GNUnet datastore databases 3gnunet\-datastore \- dump or insert (restore) GNUnet datastore databases
4 4
5.SH SYNOPSIS 5.SH SYNOPSIS
6.B gnunet\-datastore 6.B gnunet\-datastore
@@ -8,26 +8,32 @@ gnunet\-datastore \- merge or convert GNUnet datastore databases
8.SH DESCRIPTION 8.SH DESCRIPTION
9.PP 9.PP
10 10
11gnunet\-datastore can be used to convert 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 basically takes two configuration files (which must specify different databases) and reads in all of the data from the datasource (\-s option) and copies it to the destination (\-c option). Note that replication level information is lost in the process at this time. 11gnunet\-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.
12 12
13.TP 13.TP
14\fB\-c \fIFILENAME\fR, \fB\-\-config=FILENAME\fR 14\fB\-c \fIFILENAME\fR, \fB\-\-config=FILENAME\fR
15configuration file to use for the destination database 15configuration file to use
16.TP
17\fB\-d\fR, \fB\-\-dump\fR
18dump all records to a file
19.TP
20\fB\-f \fIFILENAME\fR, \fB\-\-file=FILENAME\fR
21file to dump to or insert from. Otherwise stdin/stdout are used.
16.TP 22.TP
17\fB\-h\fR, \fB\-\-help\fR 23\fB\-h\fR, \fB\-\-help\fR
18print help page 24print help page
19.TP 25.TP
26\fB\-i\fR, \fB\-\-insert\fR
27insert from dump file
28.TP
20\fB\-L \fILOGLEVEL\fR, \fB\-\-loglevel=LOGLEVEL\fR 29\fB\-L \fILOGLEVEL\fR, \fB\-\-loglevel=LOGLEVEL\fR
21Change the loglevel. Possible values for LOGLEVEL are ERROR, WARNING, INFO and DEBUG. 30Change the loglevel. Possible values for LOGLEVEL are ERROR, WARNING, INFO and DEBUG.
22.TP 31.TP
23\fB\-s \fIFILENAME\fR, \fB\-\-sourcecfg=FILENAME\fR 32\fB\-l \fIFILENAME\fR, \fB\-\-logfile=FILENAME\fR
24configuration file to use for the source database 33configure logging to write logs to FILENAME
25.TP 34.TP
26\fB\-v\fR, \fB\-\-version\fR 35\fB\-v\fR, \fB\-\-version\fR
27print the version number 36print the version number
28.TP
29\fB\-V\fR, \fB\-\-verbose\fR
30be verbose
31 37
32.SH NOTES 38.SH NOTES
33 39