I wanted try how the backup and restore works and if it does.
I hve backed up and copied all the files from /home/user-data/backup/encrypted to network NAS that my VPS provider offers located at /mnt/NAS/.MIAB/20170726.1537/backup/encrypted
Then I reinstalled the VPS, run the Install script “curl -s https://mailinabox.email/setup.sh | sudo bash” and
Now I wanted to restore the the backup with the following commands:
export PASSPHRASE=$(cat secret_key.txt)
sudo -E duplicity restore file:///mnt/NAS/.MIAB/20170726.1537/backup/encrypted /home/user-data/
But I get msg. that it can not be done, see below:
Restore destination directory /home/user-data already exists.
Will not overwrite.