diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-05-30 19:10:02 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-05-30 19:10:02 +0000 |
commit | ecdc35a09b840720e1b87f2d51aba537976ccf3f (patch) | |
tree | 50ef9588744647164ef32a7655dd377cf83a72a2 /doc/man | |
parent | ddf8da52e94c520a93383edddfef3f537664a7c3 (diff) | |
download | gnunet-ecdc35a09b840720e1b87f2d51aba537976ccf3f.tar.gz gnunet-ecdc35a09b840720e1b87f2d51aba537976ccf3f.zip |
adding tool to convert/merge datastores (#2875)
Diffstat (limited to 'doc/man')
-rw-r--r-- | doc/man/Makefile.am | 1 | ||||
-rw-r--r-- | doc/man/gnunet-datastore.1 | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am index dc68375f5..4f4d736d6 100644 --- a/doc/man/Makefile.am +++ b/doc/man/Makefile.am | |||
@@ -7,6 +7,7 @@ man_MANS = \ | |||
7 | gnunet-core.1 \ | 7 | gnunet-core.1 \ |
8 | gnunet-directory.1 \ | 8 | gnunet-directory.1 \ |
9 | gnunet-dns2gns.1 \ | 9 | gnunet-dns2gns.1 \ |
10 | gnunet-datastore.1 \ | ||
10 | gnunet-download.1 \ | 11 | gnunet-download.1 \ |
11 | gnunet-download-manager.1 \ | 12 | gnunet-download-manager.1 \ |
12 | gnunet-ecc.1 \ | 13 | gnunet-ecc.1 \ |
diff --git a/doc/man/gnunet-datastore.1 b/doc/man/gnunet-datastore.1 new file mode 100644 index 000000000..661b92828 --- /dev/null +++ b/doc/man/gnunet-datastore.1 | |||
@@ -0,0 +1,41 @@ | |||
1 | .TH gnunet\-datastore "1" "30 May 2013" "GNUnet" | ||
2 | .SH NAME | ||
3 | gnunet\-datastore \- merge or convert 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 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. | ||
12 | |||
13 | .TP | ||
14 | \fB\-c \fIFILENAME\fR, \fB\-\-config=FILENAME\fR | ||
15 | configuration file to use for the destination database | ||
16 | .TP | ||
17 | \fB\-h\fR, \fB\-\-help\fR | ||
18 | print help page | ||
19 | .TP | ||
20 | \fB\-i\fR, \fB\-\-list-indexed\fR | ||
21 | print information about files that are currently indexed by file-sharing | ||
22 | .TP | ||
23 | \fB\-L \fILOGLEVEL\fR, \fB\-\-loglevel=LOGLEVEL\fR | ||
24 | Change the loglevel. Possible values for LOGLEVEL are ERROR, WARNING, INFO and DEBUG. | ||
25 | .TP | ||
26 | \fB\-s \fIFILENAME\fR, \fB\-\-sourcecfg=FILENAME\fR | ||
27 | configuration file to use for the source database | ||
28 | .TP | ||
29 | \fB\-v\fR, \fB\-\-version\fR | ||
30 | print the version number | ||
31 | .TP | ||
32 | \fB\-V\fR, \fB\-\-verbose\fR | ||
33 | be verbose | ||
34 | |||
35 | .SH NOTES | ||
36 | |||
37 | |||
38 | .SH "REPORTING BUGS" | ||
39 | Report bugs by using mantis <https://gnunet.org/bugs/> or by sending electronic mail to <gnunet\-developers@gnu.org> | ||
40 | .SH "SEE ALSO" | ||
41 | \fBgnunet\-publish\fP(1) | ||