From ef679017059f0a1f297e917531aad657a94609fb Mon Sep 17 00:00:00 2001 From: MS Date: Tue, 6 Oct 2020 14:55:58 +0200 Subject: backup restore --- libeufin/nexus-tutorial.rst | 33 +++++++++++++++++++++++++++------ 1 file changed, 27 insertions(+), 6 deletions(-) (limited to 'libeufin/nexus-tutorial.rst') diff --git a/libeufin/nexus-tutorial.rst b/libeufin/nexus-tutorial.rst index a27483f5..68c52306 100644 --- a/libeufin/nexus-tutorial.rst +++ b/libeufin/nexus-tutorial.rst @@ -87,12 +87,13 @@ a backup copy* of such keys. 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 + export-backup \ + --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 *(5) synchronize the connection*. In this EBICS example, Nexus will send @@ -189,3 +190,23 @@ Make a payment ============== TBD. + +Restore the backup +================== + +The following command shows how to restore all the details +associated with one bank connection subscription. For EBICS, +this means that the INI and HIA secret keys will be restored +for the requesting user. + +.. code-block:: shell + + libeufin-cli \ + connection \ + restore-backup \ + --connection-name $NEXUS_BANK_CONNECTION_NAME \ + --nexus-user-id $NEXUS_USER \ + --nexus-password $NEXUS_PASSWORD \ + --passphrase $SECRET \ + --outputfile $BACKUP_FILE \ + $NEXUS_URL -- cgit v1.2.3