commit ef679017059f0a1f297e917531aad657a94609fb
parent c8e30c1db2ee3ca4632fd41ae32081f37fc6d531
Author: MS <ms@taler.net>
Date: Tue, 6 Oct 2020 14:55:58 +0200
backup restore
Diffstat:
1 file changed, 27 insertions(+), 6 deletions(-)
diff --git 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