Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 1.14 KB

restic_minio.md

File metadata and controls

33 lines (26 loc) · 1.14 KB

Running restic on Minio

Prerequisites

Steps

Authenticating restic to use Minio server

$ export AWS_ACCESS_KEY_ID=IQP18YBF51DG8HSZEE7B
$ export AWS_SECRET_ACCESS_KEY=AlDzw6dj9zfne8JhPwGapt0Idlfg/QLhMq58Z0ax

TIP: Replace these keys with your Minio credentials .

restic operations on Minio

$ ./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.