gnunet-datastore1
Dump or insert (restore) gnunet datastore databases
Usage
gnunet-datastore [{-c
FILENAME | --config=FILENAME}]
[{-d | --dump}]
[{-f
FILENAME | --file=FILENAME}]
[{-h | --help}]
[{-i | --insert}]
[{-L
LOGLEVEL | --loglevel=LOGLEVEL}]
[{-l
FILENAME | --logfile=FILENAME}]
[{-v | --version}]
Overview
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, e.g. 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.
-cFILENAME |--config=FILENAME-
Configuration file to use
-
-d | --dump -
Dump all records to a file
-fFILENAME |--file=FILENAME-
File to dump to or insert from. Otherwise stdin/stdout are used.
-
-h | --help -
Print the help page.
-
-i | --insert -
Insert from dump file.
-LLOGLEVEL |--loglevel=LOGLEVEL-
Change the loglevel. Possible values for LOGLEVEL are ERROR, WARNING, INFO and DEBUG.
-lFILENAME |--logfile=FILENAME-
Configure logging to write logs to FILENAME
-
-v | --version -
Print the version number
Releases
6 releases since Debian 8 (Jessie); the text changed 2 times.
--dump since Debian 11 (Bullseye);
--insert since Debian 11 (Bullseye);
-d since Debian 11 (Bullseye).
--config until Debian 10 (Buster);
--list-indexed until Debian 10 (Buster);
--loglevel until Debian 10 (Buster);
--sourcecfg until Debian 10 (Buster);
--verbose until Debian 10 (Buster);
-L until Debian 10 (Buster);
-V until Debian 10 (Buster);
-c until Debian 10 (Buster);
-s until Debian 10 (Buster).