mirror of
https://github.com/restic/restic.git
synced 2024-12-25 01:06:39 +00:00
Merge pull request #183 from restic/fix-documentation
Fix compiling instructions
This commit is contained in:
commit
2a5bbe2b02
1 changed files with 28 additions and 4 deletions
32
README.md
32
README.md
|
@ -43,11 +43,35 @@ Restic is a program that does backups right. The design goals are:
|
||||||
Building
|
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
|
$ make
|
||||||
go get github.com/restic/restic/cmd/restic
|
[...]
|
||||||
$GOPATH/bin/restic --help
|
|
||||||
|
$ ./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
|
Contribute and Documentation
|
||||||
|
|
Loading…
Reference in a new issue