gnunet-datastore(1)

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.

-c FILENAME | --config=FILENAME

Configuration file to use

-d | --dump

Dump all records to a file

-f FILENAME | --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.

-L LOGLEVEL | --loglevel=LOGLEVEL

Change the loglevel. Possible values for LOGLEVEL are ERROR, WARNING, INFO and DEBUG.

-l FILENAME | --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.

  1. 8–10
  2. 11
  3. 12–13

--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).

Bugs

Report bugs by using https://bugs.gnunet.org or by sending electronic mail to ⟨[email protected]⟩.

From gnunet 0.20.0-7 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.