diff options
author | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2013-05-30 19:10:02 +0000 |
---|---|---|
committer | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2013-05-30 19:10:02 +0000 |
commit | 645c1c64c6c12da71d0064e93b959182995dda46 (patch) | |
tree | 50ef9588744647164ef32a7655dd377cf83a72a2 /doc | |
parent | 0d57993abd7d519a09c973257e469f48909fb448 (diff) |
adding tool to convert/merge datastores (#2875)
git-svn-id: https://gnunet.org/svn/gnunet@27342 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'doc')
-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 dc68375f5c..4f4d736d6d 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 0000000000..661b928281 --- /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 <https://gnunet.org/bugs/> or by sending electronic mail to <gnunet\-developers@gnu.org> +.SH "SEE ALSO" +\fBgnunet\-publish\fP(1) |