2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-15 01:34:06 +00:00
Commit Graph

6426 Commits

Author SHA1 Message Date
Alexander Neumann
3b243ed1dd Add command "key change" to change repository password 2014-11-25 23:23:09 +01:00
Alexander Neumann
43ccee3b08 Add command "key rm" 2014-11-25 23:18:02 +01:00
Alexander Neumann
f7fcd7c04c Add command "key add" 2014-11-25 23:07:00 +01:00
Alexander Neumann
d0a63cd49f Add command "key list" 2014-11-25 22:52:53 +01:00
Alexander Neumann
ad7e1d043f Add simple ascii table implementation 2014-11-25 22:39:35 +01:00
Alexander Neumann
553053afd9 Remove race detector from tests 2014-11-24 22:19:48 +01:00
Alexander Neumann
08690b99bf Merge branch 'list-snapshots' 2014-11-24 22:18:16 +01:00
Alexander Neumann
0a44664d4e Fix test, do not depend on snapshots command 2014-11-24 22:17:49 +01:00
Alexander Neumann
4ab3d51996 Add more checks befor decrypting data 2014-11-24 22:11:09 +01:00
Alexander Neumann
bb62218743 Add functions to compute unique prefix length 2014-11-24 22:09:22 +01:00
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
Alexander Neumann
26cd6c5372 Add maps directory to sftp backend 2014-11-23 23:37:40 +01:00
Alexander Neumann
923a9fa49b Check maps directory when opening repository 2014-11-23 23:34:34 +01:00
Alexander Neumann
339c63befc Add "list maps" command 2014-11-23 23:29:29 +01:00
Alexander Neumann
725e5bfca5 Require repository 2014-11-23 23:19:47 +01:00
Alexander Neumann
79a1ad50ee Remove check for minimum buffer length 2014-11-23 23:02:15 +01:00
Alexander Neumann
719e121c74 Use large, dynamic buffer for encrypting maps 2014-11-23 22:58:41 +01:00
Alexander Neumann
2d8dc7b695 Merge branch 'externalize-map-63'
Close #63
2014-11-23 22:33:23 +01:00
Alexander Neumann
33ce4e33aa Store maps in new subdir "maps" 2014-11-23 22:26:01 +01:00
Alexander Neumann
b1923063fe Ignore ErrUnexpectedEOF for io.ReadFull 2014-11-23 21:49:57 +01:00
Alexander Neumann
ba20ed6ef7 Merge branch 'profile-memory' 2014-11-23 21:27:31 +01:00
Alexander Neumann
f95788ed90 Limit memory usage, add several sync.Pool 2014-11-23 21:26:20 +01:00
Alexander Neumann
575635753e Correct wildcard in Makefile 2014-11-23 15:15:11 +01:00
Alexander Neumann
fd3aca66e4 Merge branch 'fix-stats' 2014-11-23 15:04:03 +01:00
Alexander Neumann
a780462b80 Change bps and eta calculation to prevent overflow 2014-11-23 14:56:41 +01:00
Alexander Neumann
6d0a6844e2 Add space between number and unit 2014-11-23 14:54:37 +01:00
Alexander Neumann
3f0ea78b86 Clear line with ANSI escape on update 2014-11-23 14:34:18 +01:00
Alexander Neumann
f7b5c00fdb Merge branch 'refactor-stats' 2014-11-23 13:52:25 +01:00
Alexander Neumann
7e26567b8b Pretty status for backup 2014-11-23 13:51:15 +01:00
Alexander Neumann
21df0e50e5 Refactor stats
* channel instead of callback func
 * cumulate Stats for slow receivers
2014-11-23 13:51:02 +01:00
Alexander Neumann
7d1ba8ab65 Ignore permission errors for backup 2014-11-23 12:15:19 +01:00
Alexander Neumann
d6a202a853 Merge branch 'concurrent-backup' 2014-11-22 22:19:58 +01:00
Alexander Neumann
d11688f242 Save multiple data blobs in parallel 2014-11-22 22:05:39 +01:00
Alexander Neumann
d1e4431514 Refactor StorageMap to BlobList 2014-11-22 21:05:18 +01:00
Alexander Neumann
d594cd89b7 Chunker: remove unneeded return 2014-11-19 22:56:52 +01:00
Alexander Neumann
551c7525fe Rename chunker so package chunker does not overlap 2014-11-18 21:46:49 +01:00
Alexander Neumann
fe92062735 Move SaveFile to Archiver, add blobs status 2014-11-18 21:46:49 +01:00
Alexander Neumann
94d1482888 Save multiple files in parallel 2014-11-18 21:46:44 +01:00
Alexander Neumann
1ac4f92299 Add benchmark for Chunk+Encrypt 2014-11-17 23:52:31 +01:00
Alexander Neumann
4a3a6861e2 Scan directory first, then backup. Add stats. 2014-11-17 23:52:31 +01:00
Alexander Neumann
616a2c749d Use different tags for debug log 2014-11-17 23:52:31 +01:00
Alexander Neumann
cf33b01582 Load config.mk in Makefile 2014-11-17 23:52:31 +01:00
Alexander Neumann
7006e13ca9 Add dependencies 2014-11-17 23:52:31 +01:00
Alexander Neumann
bd105b69a8 Add debug() function to khepri cmd and lib 2014-11-17 23:52:31 +01:00
Alexander Neumann
4b0fae6099 Add sourcegraph status badge 2014-11-17 21:40:17 +01:00
Alexander Neumann
804cebde67 Rename backend subdir 'blobs' to 'data' 2014-11-16 13:22:19 +01:00
Alexander Neumann
b403769ae8 Merge pull request #35 from scoddy/add-goal
Added efficency as a project goal
2014-11-16 12:57:06 +01:00
Florian Daniel
8a0daa6318 Added efficency as a project goal 2014-11-16 12:55:26 +01:00
Alexander Neumann
ff3d0840d8 Fix integration tests
Todo for later:
 * fix Futimes() syscall (will be done in #24)
 * return error in dirdiff when ModTime doesn't match
2014-11-16 12:05:54 +01:00
Alexander Neumann
53933f6705 Exit with error code when integration tests fail 2014-11-16 11:34:16 +01:00