Open Jelle0637 opened 5 years ago
I try to use rsync, error message in UI is that the hostname cannot be found
verify gives this: yes I need to change the default ssh port in backup.py
root@box:~/mailinabox# sudo management/backup.py --verify
Command line error: One of the arguments must be an URL. Examples of URL strings are
"scp://user@host.net:1234/path" and "file:///usr/local". See the man
page for more information.
Enter 'duplicity --help' for help screen.
Using temporary directory /tmp/duplicity-CeD0jT-tempdir
Traceback (most recent call last):
File "management/backup.py", line 532, in
I try to use rsync, error message in UI is that the hostname cannot be found
I had to add the hostname again, even though it was pre-filled albeit gray text. After I did that there was no complaints about my hostname.
Fixed:
When I migrated the box to the new 18.04 installation mailinabox created a new encryption key.
So I deleted all the old backup files in the S3 bucket and reran the command:
# cd mailinabox/
# management/backup.py
For those having the same problems after a server upgrade, make sure to restore your previous server secret_key.txt here /home/user-data/backup/secret_key.txt
For those having the same problems after a server upgrade, make sure to restore your previous server secret_key.txt here /home/user-data/backup/secret_key.txt
second that. this was exactly my issue. no need to delete existing backups if you have your old key in place.
I'm getting this after upgrading from 0.48 to 0.51.