我正在尝试在Virtualmin中还原备份到DigitalOcean Spaces的域。这是在DigitalOcean的Ubuntu 18.04发行版上进行的。
我尝试了virtualmin restore-domain
命令的许多变体,但似乎无法使其完全在我的S3兼容DigitalOcean Spaces上工作。
virtualmin list-s3-files
正确列出文件s3cmd
已安装并与DO Spaces一起使用rclone
已安装并与DO Spaces一起使用当我运行这个时...
virtualmin list-s3-files --access-key ACCESSKEY --secret-key SECRETKEY --bucket bucket-name
...我得到了Virtualmin域备份文件的列表。
但是,当我尝试还原一个或所有备份文件时,它将无法工作。当我这样做时...
virtualmin restore-domain --all-features --all-virtualmin --source s3://ACCESSKEY:SECRETKEY@buket-name/object.1/somedomain.com.tar.gz
...或者这个...
virtualmin restore-domain --all-features --all-virtualmin --all-domains --source s3://ACCESSKEY:SECRETKEY@buket-name/object.1
...我明白了...
Checking for missing features ..
.. WARNING - The following features were enabled for one or more
domains in the backup, but do not exist on this system. Some
functions of the restored domains may not work : Mail for domain
Checking for errors in backup ..
.. no errors found
Starting restore..
Downloading archive from Amazon S3 server ..
.. download failed! No backup file for virtualmin was found on S3.
Restore failed!