1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-24 16:54:00 +00:00

Merge pull request #183 from restic/fix-documentation

Fix compiling instructions
This commit is contained in:
Alexander Neumann 2015-05-12 21:23:28 +02:00
commit 2a5bbe2b02

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