Skip to content

Commit

Permalink
Merge pull request #525 from koolhead17/miniorestic
Browse files Browse the repository at this point in the history
Added Minio.io configuration steps to run as backend for restic.
  • Loading branch information
fd0 committed May 31, 2016
2 parents 795e3d5 + 789b8c8 commit e1b5593
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions doc/Manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,29 @@ You can then easily initialize a repository that uses your Amazon S3 as a backen
For an S3-compatible repository without TLS available, use the alternative URI
protocol `s3:http://server:port/bucket_name`.

## Create a Minio Server repository

[Minio](https://www.minio.io) is an Open Source Object Storage, written in Go and compatible with AWS S3 API.

### Pre-Requisites

* Download and Install [Minio Server](https://minio.io/download/).
* You can also refer to [https://docs.minio.io](https://docs.minio.io) for step by step guidance on installation and getting started on Minio CLient and Minio Server.

You must first setup the following environment variables with the credentials of your running Minio Server.

$ export AWS_ACCESS_KEY_ID=<YOUR-MINIO-ACCESS-KEY-ID>
$ export AWS_SECRET_ACCESS_KEY= <YOUR-MINIO-SECRET-ACCESS-KEY>

Now you can easily initialize restic to use Minio server as backend with this command.

$ ./restic -r s3:http://localhost:9000/restic init
enter password for new backend:
enter password again:
created restic backend 6ad29560f5 at s3:http://localhost:9000/restic1
Please note that knowledge of your password is required to access
the repository. Losing your password means that your data is irrecoverably lost.

# Debugging restic

The program can be built with debug support like this:
Expand Down

0 comments on commit e1b5593

Please sign in to comment.