Update… So I found the issue. Apparently, somewhere I must have installed AWS CLI and it create a sym link that pointed to …/share/awscli/aws. Removing the sym link fixed it for virtualmin backups.
How can I have the symlink “aws” without breaking virtualmin backups with S3?
I know this post is from a long time ago, but Is there any way you could give us an update on how to get the restore to work? You problem is exactly what I’m seeing.
I found I had a rogue install of awscli which wasn’t needed anyway. By uninstalling it from the system then under:
System Settings > Virtualmin Configuration > Backup and restore > Full path to aws command for S3 operations
set to “Not installed”
Saved it then backups to s3 uploads started working again.
Odd issue, because the backup log says everything is good, but no files get uploaded to the s3 which was a bit confusing.