From ecdc35a09b840720e1b87f2d51aba537976ccf3f Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 30 May 2013 19:10:02 +0000 Subject: adding tool to convert/merge datastores (#2875) --- doc/man/Makefile.am | 1 + doc/man/gnunet-datastore.1 | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 doc/man/gnunet-datastore.1 (limited to 'doc') 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 = \ gnunet-core.1 \ gnunet-directory.1 \ gnunet-dns2gns.1 \ + gnunet-datastore.1 \ gnunet-download.1 \ gnunet-download-manager.1 \ 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 @@ +.TH gnunet\-datastore "1" "30 May 2013" "GNUnet" +.SH NAME +gnunet\-datastore \- merge or convert GNUnet datastore databases + +.SH SYNOPSIS +.B gnunet\-datastore +[\fIOPTIONS\fR] +.SH DESCRIPTION +.PP + +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. + +.TP +\fB\-c \fIFILENAME\fR, \fB\-\-config=FILENAME\fR +configuration file to use for the destination database +.TP +\fB\-h\fR, \fB\-\-help\fR +print help page +.TP +\fB\-i\fR, \fB\-\-list-indexed\fR +print information about files that are currently indexed by file-sharing +.TP +\fB\-L \fILOGLEVEL\fR, \fB\-\-loglevel=LOGLEVEL\fR +Change the loglevel. Possible values for LOGLEVEL are ERROR, WARNING, INFO and DEBUG. +.TP +\fB\-s \fIFILENAME\fR, \fB\-\-sourcecfg=FILENAME\fR +configuration file to use for the source database +.TP +\fB\-v\fR, \fB\-\-version\fR +print the version number +.TP +\fB\-V\fR, \fB\-\-verbose\fR +be verbose + +.SH NOTES + + +.SH "REPORTING BUGS" +Report bugs by using mantis or by sending electronic mail to +.SH "SEE ALSO" +\fBgnunet\-publish\fP(1) -- cgit v1.2.3