From df269fb7205fe6b1f0ca6864284ef408f4e8b8e1 Mon Sep 17 00:00:00 2001 From: MS Date: Tue, 6 Oct 2020 14:45:58 +0200 Subject: mention backup --- libeufin/nexus-tutorial.rst | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/libeufin/nexus-tutorial.rst b/libeufin/nexus-tutorial.rst index 452f8751..01679984 100644 --- a/libeufin/nexus-tutorial.rst +++ b/libeufin/nexus-tutorial.rst @@ -44,6 +44,11 @@ Use the following command to *(1) run the nexus service*: $ libeufin-nexus +After the startup, Nexus should have created a ``.sqlite3`` file in +its current working directory. Feel free to use the ``--with-db`` option +to change the database name and path. In future releases, the support +for Postgresql will be provided. + At this point a *(2) superuser account needs to be activated into the system*: @@ -73,8 +78,25 @@ creating a EBICS connection*. --nexus-password $NEXUS_PASSWORD \ $NEXUS_URL -If the previous command succeeded, Nexus must communicate all the details -to the bank. Therefore, it will *(4) synchronize the connection*. +If the step above executed correctly, Nexus created all the cryptographic +material that is needed on the client side; in this EBICS example, it created +the signature and identification keys. It is therefore advisable to *(4) make +a backup copy* of such keys. + +.. code-block:: shell + + libeufin-cli \ + connections \ + --connection-name $NEXUS_BANK_CONNECTION_NAME \ + --nexus-user-id $NEXUS_USER \ + --nexus-password $NEXUS_PASSWORD \ + --passphrase $SECRET \ + --outputfile $BACKUP_FILE \ + $NEXUS_URL + +At this point, Nexus must communicate all the details to the bank. Therefore, +it will *(4) synchronize the connection*. In this EBICS example, Nexus will send +the *INI* and *HIA* messages to the bank. .. code-block:: shell -- cgit v1.2.3