These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for CLI backup to AWS S3 on the new forum.
The following bash command fails:
# virtualmin backup-domain --domain example.com \
--dest s3://XXXXX@YYYYY/backups/20150924/example.com.tar.gz \
--all-features --ignore-errors --strftime --no-incremental --all-virtualmin
...where "XXXXX" is my AWS access key and "YYYYY" the access secret.
virtualmin reports:
Failed to open /usr/share/webmin/virtual-server/s3://XXXXX@YYYYY/backups/20150924/example.com.tar.gz for writing : No such file or directory at ../web-lib-funcs.pl line 1397.
Did I miss anything?
Thanks, Cerebrum
virtualmin-base version 1.0-36.1 on Debian GNU/Linux 7.x
My fault - please ignore my question :-)
Syntax should be:
--dest s3://XXXXX:YYYYY@backups/20150924/example.com.tar.gz
...rather than:
--dest s3://XXXXX@YYYYY/backups/20150924/example.com.tar.gz
Great, I'm glad you got this working!
-Eric