diff options
author | David Barksdale <amatus@amat.us> | 2017-04-13 21:22:29 -0500 |
---|---|---|
committer | David Barksdale <amatus@amat.us> | 2017-04-13 21:24:51 -0500 |
commit | cacd64d8635201459e59bf2cd8a2ea8fd0699b84 (patch) | |
tree | 37004afbca2a523a640c7324ab0b575e667a202e /doc/man | |
parent | 51e9f26b1014d6f935cacad7da75d98234653482 (diff) | |
download | gnunet-cacd64d8635201459e59bf2cd8a2ea8fd0699b84.tar.gz gnunet-cacd64d8635201459e59bf2cd8a2ea8fd0699b84.zip |
Rewrite gnunet-datastore to dump to a file
Diffstat (limited to 'doc/man')
-rw-r--r-- | doc/man/gnunet-datastore.1 | 24 |
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 |
3 | gnunet\-datastore \- merge or convert GNUnet datastore databases | 3 | gnunet\-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 | ||
11 | gnunet\-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. | 11 | 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. |
12 | 12 | ||
13 | .TP | 13 | .TP |
14 | \fB\-c \fIFILENAME\fR, \fB\-\-config=FILENAME\fR | 14 | \fB\-c \fIFILENAME\fR, \fB\-\-config=FILENAME\fR |
15 | configuration file to use for the destination database | 15 | configuration file to use |
16 | .TP | ||
17 | \fB\-d\fR, \fB\-\-dump\fR | ||
18 | dump all records to a file | ||
19 | .TP | ||
20 | \fB\-f \fIFILENAME\fR, \fB\-\-file=FILENAME\fR | ||
21 | file 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 |
18 | print help page | 24 | print help page |
19 | .TP | 25 | .TP |
26 | \fB\-i\fR, \fB\-\-insert\fR | ||
27 | insert from dump file | ||
28 | .TP | ||
20 | \fB\-L \fILOGLEVEL\fR, \fB\-\-loglevel=LOGLEVEL\fR | 29 | \fB\-L \fILOGLEVEL\fR, \fB\-\-loglevel=LOGLEVEL\fR |
21 | Change the loglevel. Possible values for LOGLEVEL are ERROR, WARNING, INFO and DEBUG. | 30 | Change 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 |
24 | configuration file to use for the source database | 33 | configure logging to write logs to FILENAME |
25 | .TP | 34 | .TP |
26 | \fB\-v\fR, \fB\-\-version\fR | 35 | \fB\-v\fR, \fB\-\-version\fR |
27 | print the version number | 36 | print the version number |
28 | .TP | ||
29 | \fB\-V\fR, \fB\-\-verbose\fR | ||
30 | be verbose | ||
31 | 37 | ||
32 | .SH NOTES | 38 | .SH NOTES |
33 | 39 | ||