Skip to content

Commit

Permalink
Fix compiling instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
fd0 committed May 12, 2015
1 parent 0bb43fa commit 2d0fc29
Showing 1 changed file with 29 additions and 5 deletions.
34 changes: 29 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

export GOPATH=~/src/go
go get github.com/restic/restic/cmd/restic
$GOPATH/bin/restic --help
Install Go/Golang (at least version 1.3), then run `make`, afterwards you'll
find the binary in the current directory:

$ 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
Expand Down

0 comments on commit 2d0fc29

Please sign in to comment.