Alexander Neumann
|
5431b025a3
|
Reduce code duplication in key handling
|
2014-12-21 18:16:22 +01:00 |
|
Alexander Neumann
|
ef41a77aff
|
Remove explicit key handling
|
2014-12-21 18:10:19 +01:00 |
|
Alexander Neumann
|
cc147c002e
|
Introduce type Server
|
2014-12-21 17:37:29 +01:00 |
|
Alexander Neumann
|
0e1045301a
|
Optimize 'cat' and 'snapshots' commands
|
2014-12-21 17:29:37 +01:00 |
|
Alexander Neumann
|
879abd0d12
|
Add time to command 'find'
|
2014-12-07 17:23:00 +01:00 |
|
Alexander Neumann
|
28bb061ad3
|
Refactor commands
|
2014-12-07 16:32:23 +01:00 |
|
Alexander Neumann
|
b3deca33a9
|
Add command 'find'
|
2014-12-07 14:44:01 +01:00 |
|
Alexander Neumann
|
988d18bb1d
|
Improve output
|
2014-12-07 14:26:32 +01:00 |
|
Alexander Neumann
|
202984a93f
|
Rename snapshot.Content -> snapshot.Tree
|
2014-12-07 14:14:50 +01:00 |
|
Alexander Neumann
|
45e40eb27a
|
Correctly encode non utf8 node names
|
2014-12-07 13:06:35 +01:00 |
|
Alexander Neumann
|
fa94d408f3
|
Remove old khepri binary
|
2014-12-06 17:59:21 +01:00 |
|
Alexander Neumann
|
e2fea0d088
|
Rename khepri -> restic
|
2014-12-05 21:45:49 +01:00 |
|
Alexander Neumann
|
0ac1716463
|
Fix error message for invalid snapshot id in fsck
|
2014-11-30 22:49:41 +01:00 |
|
Alexander Neumann
|
172b7bf123
|
Move command init into cmd_* files
|
2014-11-30 22:39:58 +01:00 |
|
Alexander Neumann
|
bb8c52a974
|
Add 'fsck' command
|
2014-11-30 22:35:42 +01:00 |
|
Alexander Neumann
|
3325fa07ea
|
Check timestamps for files
|
2014-11-30 22:34:21 +01:00 |
|
Alexander Neumann
|
65c9a78e95
|
Remove extra linefeed from table header in 'snapshots'
|
2014-11-28 00:01:56 +01:00 |
|
Alexander Neumann
|
3e2c9dc267
|
Show currently used key in 'key list'
|
2014-11-27 23:26:19 +01:00 |
|
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
|
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
|
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
|
33ce4e33aa
|
Store maps in new subdir "maps"
|
2014-11-23 22:26:01 +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
|
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
|
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
|
94d1482888
|
Save multiple files in parallel
|
2014-11-18 21:46:44 +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
|
804cebde67
|
Rename backend subdir 'blobs' to 'data'
|
2014-11-16 13:22:19 +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
|
d20c4ff316
|
Correctly output blob after decryption with cat
|
2014-11-15 20:19:34 +01:00 |
|
Alexander Neumann
|
8277daa9e1
|
Add Makefile and version.sh, add 'version' command
|
2014-11-15 19:08:15 +01:00 |
|
Alexander Neumann
|
ebd4f97350
|
Update import path
|
2014-11-15 19:04:32 +01:00 |
|
Alexander Neumann
|
bb5bfe1ba0
|
Cleanup, remove unused commands
|
2014-10-05 16:17:40 +02:00 |
|
Alexander Neumann
|
09702c1c61
|
Add commands 'cat','list' and 'ls'
|
2014-10-05 14:44:59 +02:00 |
|
Alexander Neumann
|
f848afed27
|
Add SFTP backend
|
2014-10-04 19:20:15 +02:00 |
|
Alexander Neumann
|
30ab03b7b7
|
Add decrypt, refactor
|
2014-10-03 21:44:55 +02:00 |
|
Alexander Neumann
|
03ca69407d
|
Add method to create repository
Also disables automatic creation on open
|
2014-09-23 21:16:54 +02:00 |
|
Alexander Neumann
|
f0287b2c9a
|
Restructure, adapt for max 16MB chunk size
|
2014-09-21 16:33:20 +02:00 |
|
Alexander Neumann
|
f1f96c4206
|
Remove old cmd/ experiments
|
2014-09-21 16:02:57 +02:00 |
|
Alexander Neumann
|
0a4c9aab36
|
Add error to messages
|
2014-09-21 15:58:52 +02:00 |
|
Alexander Neumann
|
16dfd73ecb
|
Extend cmd/split
|
2014-09-18 22:40:59 +02:00 |
|
Alexander Neumann
|
18131f88bf
|
Add code for content defined chunking (CDC)
|
2014-09-18 21:10:20 +02:00 |
|
Alexander Neumann
|
40aea3d612
|
Remove temp dir
|
2014-08-12 21:39:14 +02:00 |
|
Alexander Neumann
|
d66996e648
|
Move restore functionality into khepri package
|
2014-08-11 23:14:40 +02:00 |
|
Alexander Neumann
|
2428843faa
|
Refactor
|
2014-08-11 22:47:24 +02:00 |
|
Alexander Neumann
|
d60828fc15
|
Add dirdiff to tests
|
2014-08-06 20:09:51 +02:00 |
|
Alexander Neumann
|
017426467b
|
Refactor Makefiles
|
2014-08-06 20:09:41 +02:00 |
|
Alexander Neumann
|
16d7974b3f
|
Add dirdiff command
|
2014-08-06 20:09:24 +02:00 |
|
Alexander Neumann
|
ab602b88de
|
Add Makefiles and simple test suite
|
2014-08-05 23:13:19 +02:00 |
|
Alexander Neumann
|
f45a9c8e9f
|
Fix logging
|
2014-08-05 23:13:07 +02:00 |
|
Alexander Neumann
|
ad8125d83c
|
Add command 'fsck'
|
2014-08-04 23:25:58 +02:00 |
|
Alexander Neumann
|
b923a2065a
|
Rename field in Snapshot: Tree -> TreeID
|
2014-08-04 23:25:32 +02:00 |
|
Alexander Neumann
|
500f4f9997
|
Add command 'snapshots'
|
2014-08-04 22:55:54 +02:00 |
|
Alexander Neumann
|
e8b83e460f
|
Refactor
|
2014-08-04 22:46:14 +02:00 |
|
Alexander Neumann
|
022f514b09
|
Rename ListIDs -> List
|
2014-08-04 22:15:04 +02:00 |
|
Alexander Neumann
|
e525655dcb
|
Fix backup command
|
2014-08-04 21:53:25 +02:00 |
|
Alexander Neumann
|
b3c2d82331
|
Refactor, add Object and Snapshot
|
2014-08-04 20:51:09 +02:00 |
|
Alexander Neumann
|
fbd33636f0
|
Rename types and errmsg function
|
2014-08-03 16:36:52 +02:00 |
|
Alexander Neumann
|
5cbd1d0090
|
Add command 'list'
|
2014-08-01 22:20:28 +02:00 |
|
Alexander Neumann
|
11d6aa5328
|
Fix commands
|
2014-08-01 22:20:15 +02:00 |
|
Alexander Neumann
|
13bb557cdc
|
Restructured repository
|
2014-07-28 20:21:19 +02:00 |
|