Closed RogerSik closed 1 year ago
I never tested it. Just local and rest.
RESTIC_REPO_URL: Restic repository URL. It could be a local repository (eg: /data) or a remote repository (eg: rest:http://user:password@127.0.0.1:8000/).
I don't have an s3 account. If I open a PR could yo test it? Do you need a Docker image or just source code is enough?
Yes I could. I could provide you test credentials and test instance.
I tried Minio (S3 compatible) and it's working fine. You have to add more Environment variables. The same as in Restic => https://restic.readthedocs.io/en/latest/030_preparing_a_new_repo.html#amazon-s3
- RESTIC_REPO_URL=s3:http://10.0.2.15:9002/restic
- RESTIC_REPO_PASSWORD=rS45Tgt2eJ
- AWS_ACCESS_KEY_ID=oR5BtezJSXP
- AWS_SECRET_ACCESS_KEY=dnNtGQIfxDWdmFljUrHDHEYjH
Yes you are right this works fine @ngosang. Many thanks and sorry, i was wrong in the thinking and tried to include the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY into the RESTIC_REPO_URL like the http example.
Is s3 supported? When setting RESTIC_REPO_URL with s3 as the http example it fails