- You have restic installed and running, if not follow install instructions
- You have Minio server installed and running, if not follow install instructions
$ export AWS_ACCESS_KEY_ID=IQP18YBF51DG8HSZEE7B
$ export AWS_SECRET_ACCESS_KEY=AlDzw6dj9zfne8JhPwGapt0Idlfg/QLhMq58Z0ax
TIP: Replace these keys with your Minio credentials .
$ ./restic -r s3:http://localhost:9000/resticbucket init
TIP: Replace the endpoint with your Minio configuration.
$ ./restic -r s3:http://localhost:9000/resticbucket backup /home/minio/workdir/Docs/
enter password for repository:
scan [/home/minio/workdir/Docs]
scanned 2 directories, 6 files in 0:00
[0:00] 100.00% 0B/s 8.045 KiB / 8.045 KiB 6 / 8 items 0 errors ETA 0:00
duration: 0:00, 0.06MiB/s
snapshot 85a9731a saved
You can read more on restic here and documents about Minio server is available here.