2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-10 15:21:03 +00:00

Fix compiling instructions

This commit is contained in:
Alexander Neumann 2015-05-12 21:22:52 +02:00
parent 0bb43fa0af
commit 2d0fc294b7

View File

@ -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