Go to file
Alexander Neumann 2c5d07a571 List snapshots, accept snapshot id prefix
Example:

    $ ./khepri snapshots
    ID        Date                 Source      Directory
    --------------------------------------------------------------------------------
    fa31d65b  2014-11-24 19:45:11  kasimir     /home/user/testdata
    20bdc140  2014-11-24 20:00:47  kasimir     /home/user/testdata
    326cb59d  2014-11-24 20:01:40  kasimir     /home/user/testdata
    20ff988b  2014-11-24 20:35:35  kasimir     /home/user
2014-11-24 21:12:32 +01:00
backend List snapshots, accept snapshot id prefix 2014-11-24 21:12:32 +01:00
chunker Limit memory usage, add several sync.Pool 2014-11-23 21:26:20 +01:00
cmd List snapshots, accept snapshot id prefix 2014-11-24 21:12:32 +01:00
test Exit with error code when integration tests fail 2014-11-16 11:34:16 +01:00
LICENSE LICENSE: Add email address 2014-09-18 21:10:30 +02:00
Makefile Refactor StorageMap to BlobList 2014-11-22 21:05:18 +01:00
README.md Add sourcegraph status badge 2014-11-17 21:40:17 +01:00
archiver.go Store maps in new subdir "maps" 2014-11-23 22:26:01 +01:00
archiver_test.go Use large, dynamic buffer for encrypting maps 2014-11-23 22:58:41 +01:00
bloblist.go Store maps in new subdir "maps" 2014-11-23 22:26:01 +01:00
bloblist_test.go Limit memory usage, add several sync.Pool 2014-11-23 21:26:20 +01:00
contenthandler.go Use large, dynamic buffer for encrypting maps 2014-11-23 22:58:41 +01:00
debug.go Use different tags for debug log 2014-11-17 23:52:31 +01:00
debug_release.go Add debug() function to khepri cmd and lib 2014-11-17 23:52:31 +01:00
generic_test.go Break out test functions 2014-08-01 22:09:30 +02:00
key.go Remove check for minimum buffer length 2014-11-23 23:02:15 +01:00
key_int_test.go Use large, dynamic buffer for encrypting maps 2014-11-23 22:58:41 +01:00
key_test.go Use large, dynamic buffer for encrypting maps 2014-11-23 22:58:41 +01:00
pools.go Use large, dynamic buffer for encrypting maps 2014-11-23 22:58:41 +01:00
restorer.go Refactor StorageMap to BlobList 2014-11-22 21:05:18 +01:00
snapshot.go List snapshots, accept snapshot id prefix 2014-11-24 21:12:32 +01:00
snapshot_test.go Add decrypt, refactor 2014-10-03 21:44:55 +02:00
tree.go Limit memory usage, add several sync.Pool 2014-11-23 21:26:20 +01:00
tree_test.go Add tests and benchmarks for encrypt and decrypt 2014-11-15 19:34:42 +01:00
wercker.yml Add integration tests for wercker 2014-11-16 11:12:55 +01:00
zerrors_linux.go Refactor 2014-08-11 22:47:24 +02:00

README.md

Stories in Ready wercker status sourcegraph status

WARNING

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

Khepri

Khepri 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. Khepri 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 khepri 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 khepri enables you to easily verify that all data can be restored.

  • Secure: Khepri 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). Khepri 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 (at least 1.2), then run:

export GOPATH=~/src/go
go get github.com/fd0/khepri/cmd/khepri
$GOPATH/bin/khepri --help

License

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