Fix compiling instructions

This commit is contained in:
Alexander Neumann 2015-05-12 21:22:52 +02:00
parent 0bb43fa0af
commit 2d0fc294b7
1 changed files with 28 additions and 4 deletions

View File

@ -43,11 +43,35 @@ Restic is a program that does backups right. The design goals are:
Building
========
Install Go/Golang (at least 1.3), then run:
Install Go/Golang (at least version 1.3), then run `make`, afterwards you'll
find the binary in the current directory:
export GOPATH=~/src/go
go get github.com/restic/restic/cmd/restic
$GOPATH/bin/restic --help
$ make
[...]
$ ./restic --help
Usage:
restic [OPTIONS] <command>
Application Options:
-r, --repo= Repository directory to backup to/restore from
Help Options:
-h, --help Show this help message
Available commands:
backup save file/directory
cache manage cache
cat dump something
find find a file/directory
fsck check the repository
init create repository
key manage keys
list lists data
ls list files
restore restore a snapshot
snapshots show snapshots
version display version
Contribute and Documentation