From 9a6bb5eebe41eaba75473d572a7c516c0108203a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zlatko=20=C4=8Calu=C5=A1i=C4=87?= Date: Sat, 22 Jul 2017 12:32:05 +0200 Subject: [PATCH] Update README.md Document restic v0.7.1 as the required version to run with Rest Server. Closes #11 --- README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9d1c5dd..16d2d43 100644 --- a/README.md +++ b/README.md @@ -15,10 +15,14 @@ data remotely, using [restic](https://github.com/restic/restic) backup client. Rest Server requires Go 1.7 or higher to build. The only tested compiler is the official Go compiler. Building server with gccgo may work, but is not supported. -The required version of restic backup client to use with rest-server is -[v0.6.1](https://github.com/restic/restic/releases/tag/v0.6.1) or higher, due to some -[changes](https://github.com/restic/restic/commit/1a538509d0232f1a532266e07da509875fe9e0d6) in the REST backend API and -performance [improvements](https://github.com/restic/restic/commit/04b262d8f10ba9eacde041734c08f806c4685e7f). +The required version of restic backup client to use with Rest Server is +[v0.7.1](https://github.com/restic/restic/releases/tag/v0.7.1) or higher. + +If you have a local repository created with an older version of restic client, which you would now like to serve via +Rest Server, you need to first create missing subdirectories in the data directory. Run this simple one-liner in the +repository directory: + +```for i in {0..255}; do mkdir -p $(printf "data/%02x" $i); done``` ## Installation