Commit Graph

123 Commits

Author SHA1 Message Date
Alexander Weiss
b6693bbdc2 Move check for config file at beginning 2022-05-10 00:04:13 +02:00
Alexander Weiss
f5b6186d4a Add init command 2022-05-10 00:04:13 +02:00
Alexander Weiss
a164196184 Prepare backend for init command 2022-05-05 21:15:00 +02:00
Alexander Weiss
4cfb5b6639 forget: Fix --keep-last and add --keep-id 2022-04-26 16:37:57 +02:00
Alexander Weiss
378d8eb7e5 forget: Allow giving snapshot IDs 2022-04-26 13:13:58 +02:00
Alexander Weiss
5547f027db snapshots: Add option --long 2022-04-26 12:34:48 +02:00
Alexander Weiss
f0960c7024 snapshots: Allow giving snapshot IDs 2022-04-26 12:34:48 +02:00
Alexander Weiss
a698fe3d2b clippy hints for prune and forget 2022-04-26 00:30:17 +02:00
Alexander Weiss
bf21f8b1a3 Add forget command 2022-04-26 00:22:52 +02:00
Alexander Weiss
de6f93bacb Add grouping of snapshots 2022-04-25 21:19:16 +02:00
Alexander Weiss
d09fbee1cc prune: fix option --repack-cacheable-only 2022-04-24 11:43:41 +02:00
Alexander Weiss
833062dfd9 prune: Add options --keep-delete and --keep-pack 2022-04-24 11:35:57 +02:00
Alexander Weiss
08bbc8688b implement lock-free pruning 2022-04-24 10:53:11 +02:00
Alexander Weiss
efb4e9b660 Add save time for packs 2022-04-23 10:30:39 +02:00
Alexander Weiss
4de1060f84 refactor prune algorithm 2022-04-23 10:21:40 +02:00
Alexander Weiss
e17cc2dbf4 make IndexFile structs public 2022-04-22 21:31:01 +02:00
Alexander Weiss
ac2862050d cargo clippy 2022-04-22 00:20:49 +02:00
Alexander Weiss
d91045910f Add tag command 2022-04-22 00:14:35 +02:00
Alexander Weiss
9c65a0b432 Add prune command 2022-04-22 00:14:35 +02:00
Alexander Weiss
6cae3de84a Add remove() method to backends 2022-04-22 00:14:35 +02:00
Alexander Weiss
05ae5da581 Use binary sorted index to support duplicates
This is a bit slower than using boomphf, but not too much. Also a bit
less memory but this is marginal.
The main disadvantage of boomphf is that it aborts when duplicates are
present, which may be the case here...
2022-04-22 00:14:35 +02:00
Alexander Weiss
bb2508b936 Add key add command 2022-04-22 00:14:35 +02:00
Alexander Weiss
f83ad745bf cleanup indexer 2022-04-07 22:07:13 +02:00
Alexander Weiss
bab8fadaec add more info to snapshot 2022-04-07 22:07:13 +02:00
Alexander Weiss
9f026e8455 Make node compatible with restic (for empty files) 2022-04-07 22:07:13 +02:00
Alexander Weiss
41b3b98477 repoinfo: fix ProgressBar 2022-04-07 22:07:13 +02:00
Alexander Weiss
d332485659 check: Add check for offsets in IndexFile 2022-04-07 22:07:13 +02:00
Alexander Weiss
181e86b9fd correct parent detection 2022-04-05 17:04:01 +02:00
Alexander Weiss
a8b2367db7 Fix bug in TreeStreamer 2022-04-05 15:20:41 +02:00
Alexander Weiss
cc40cd138f Use indicatif 0.17-rc.10 (add ETA calculation) 2022-04-05 15:16:22 +02:00
Alexander Weiss
5e49531eb8 Add command repoinfo 2022-04-05 15:15:45 +02:00
Alexander Weiss
fef4d06b88 fix diff command 2022-04-05 10:01:39 +02:00
Alexander Weiss
60d3601794 fix restore command 2022-04-05 08:46:47 +02:00
Alexander Weiss
f4ecdf8bb3 Add REST backend 2022-04-04 05:20:58 +02:00
Alexander Weiss
98b0218948 Refactor WriteBackend 2022-04-03 17:19:46 +02:00
Alexander Weiss
bd4edac96b make ReadBackend::list async 2022-03-31 14:26:55 +02:00
Alexander Weiss
710470bfe7 parallelize hashing for big files 2022-03-26 07:10:21 +01:00
Alexander Weiss
115f2688ff optimize chunker 2022-03-25 23:04:30 +01:00
Alexander Weiss
c454685286 async version 2022-03-24 23:03:45 +01:00
Alexander Weiss
1f1f8d972a suppress warnings in helper.rs 2022-03-15 21:43:16 +01:00
Alexander Weiss
8572963f82 simplify access to repofiles 2022-03-15 21:42:31 +01:00
Alexander Weiss
a987e1d5b4 preparation for cargo publish 2022-03-14 17:09:54 +01:00
Alexander Weiss
bbe0c22b6d Always use boomphf as index 2022-03-13 14:24:41 +01:00
Alexander Weiss
ad48c37258 improve progress bars 2022-03-13 13:58:42 +01:00
Alexander Weiss
b35a37a335 fix DecryptBackend 2022-03-12 22:23:19 +01:00
Alexander Weiss
e09bc17705 backup: carve out source in LocalSource which implements ReadSource 2022-03-11 13:46:19 +01:00
Alexander Weiss
bd30db0841 Add .gitignore; handle errors in backup 2022-03-10 18:48:58 +01:00
Alexander Weiss
29ef10782e Add some progress bars 2022-03-10 10:31:43 +01:00
Alexander Weiss
3ecb3d43d9 add starting of backup 2022-03-10 00:25:19 +01:00
Alexander Weiss
ae85ee1593 add progress bar 2022-03-10 00:25:05 +01:00