2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-26 20:30:19 +00:00
Go to file
2015-05-06 20:44:53 +02:00
backend Merge branch 'add_config' 2015-05-04 22:13:59 +02:00
chunker chunker: Further cleanup 2015-05-05 00:56:07 +02:00
cmd Fix ls command 2015-05-05 20:50:10 -05:00
crypto Remove pools.go 2015-05-05 00:14:07 +02:00
debug debug: Dynamically pad tag in debug log 2015-05-02 01:14:45 +02:00
doc doc: Clarify storage ID 2015-05-04 20:39:07 +02:00
pack crypto.go nitpicks 2015-04-29 22:28:34 -04:00
pipe Use package "restic/test" 2015-04-09 21:15:48 +02:00
server server: Rename CreateMasterKey() to Init() 2015-05-04 20:40:17 +02:00
test server: Rename CreateMasterKey() to Init() 2015-05-04 20:40:17 +02:00
testsuite rename "change" to "passwd" 2015-04-25 02:44:26 -04:00
.gitignore gitignore binary files 2015-04-24 18:56:17 -04:00
.travis.yml travis: Add env variable for gox cross-compilation 2015-05-06 20:42:11 +02:00
archiver_int_test.go restorer: unexport archive pipe 2015-05-02 15:31:31 +02:00
archiver_test.go chunker: Further cleanup 2015-05-05 00:56:07 +02:00
archiver.go chunker: move buffer pool to chunker package 2015-05-05 00:51:47 +02:00
cache_test.go tests: Simplify key handling 2015-05-03 16:36:52 +02:00
cache.go server: Add config 2015-05-03 18:56:20 +02:00
LICENSE LICENSE: Add email address 2014-09-18 21:10:30 +02:00
Makefile Refactor testsuite 2015-01-17 16:32:24 +01:00
node_darwin.go node: Move unix-specific functions back to node.go 2015-05-05 21:34:12 +02:00
node_freebsd.go Call open file once on FreeBSD. 2015-05-05 20:47:02 -05:00
node_linux.go node: Move unix-specific functions back to node.go 2015-05-05 21:34:12 +02:00
node_openbsd.go node: Move unix-specific functions back to node.go 2015-05-05 21:34:12 +02:00
node_test.go Add benchmark for NodeFromFileInfo 2015-05-02 00:26:32 +02:00
node.go Add node to build on freebsd. 2015-05-05 18:06:36 -05:00
progress.go Small refactorings and ceosmetic changes 2015-04-29 20:59:06 -04:00
README.md Add "Golang" keyword to README 2015-03-15 16:13:03 +01:00
restorer.go Add comments to exported methods 2015-05-02 15:23:28 +02:00
snapshot_test.go Small refactorings and ceosmetic changes 2015-04-29 20:59:06 -04:00
snapshot.go server: rename LoadJSONEncrypted -> LoadJSONUnpacked 2015-05-03 18:56:20 +02:00
testsuite.sh wip 2015-02-15 15:17:24 +01:00
tree_test.go tests: Simplify key handling 2015-05-03 16:36:52 +02:00
tree.go Small refactorings and ceosmetic changes 2015-04-29 20:59:06 -04:00
walk_test.go tests: Simplify key handling 2015-05-03 16:36:52 +02:00
walk.go Small refactorings and ceosmetic changes 2015-04-29 20:59:06 -04:00

Stories in Ready Build Status sourcegraph status

WARNING

WARNING: At the moment, consider restic as alpha quality software, it is not yet finished. Do not use it for real data!

Restic

Restic is a program that does backups right. The design goals are:

  • Easy: Doing backups should be a frictionless process, otherwise you are tempted to skip it. Restic should be easy to configure and use, so that in the unlikely event of a data loss you can just restore it. Likewise, restoring data should not be complicated.

  • Fast: Backing up your data with restic should only be limited by your network or harddisk bandwidth so that you can backup your files every day. Nobody does backups if it takes too much time. Restoring backups should only transfer data that is needed for the files that are to be restored, so that this process is also fast.

  • Verifiable: Much more important than backup is restore, so restic enables you to easily verify that all data can be restored.

  • Secure: Restic uses cryptography to guarantee confidentiality and integrity of your data. The location the backup data is stored is assumed not to be a trusted environment (e.g. a shared space where others like system administrators are able to access your backups). Restic is built to secure your data against such attackers.

  • Efficient: With the growth of data, additional snapshots should only take the storage of the actual increment. Even more, duplicate data should be de-duplicated before it is actually written to the storage backend to save precious backup space.

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

Contribute

Contributions are welcome! Please make sure that all code submitted in pull-requests is properly formatted with gofmt. Installing the script fmt-check from https://github.com/edsrzf/gofmt-git-hook locally as a pre-commit hook checks formatting before commiting, just copy this script to .git/hooks/pre-commit.

If you are unsure what to do, please have a look at the github issues, especially those tagged minor complexity.

Contact

If you discover a bug or find something surprising, please feel free to open a github issue. If you would like to chat about restic, there is also the IRC channel #restic on irc.freenode.net. Or just write me an email :)

License

Restic is licensed under "BSD 2-Clause License". You can find the complete text in the file LICENSE.