Commit Graph

144 Commits

Author SHA1 Message Date
Alexander Weiss
ff1efc9911 Use summary structure in snapshot files 2022-05-31 00:41:42 +02:00
Alexander Weiss
d6b523b688 Update README and add screenshot 2022-05-25 21:24:23 +02:00
Alexander Weiss
06256e7a54 adapt tree json format to restic's tree format 2022-05-23 20:42:07 +02:00
Alexander Weiss
4a3755d18a Add compression support 2022-05-23 10:36:49 +02:00
Alexander Weiss
c4e1728246 restore: Parallelize and add progress bar 2022-05-21 03:13:59 +02:00
Alexander Weiss
6eb55bc39c Small fixes in indexfile treatment 2022-05-18 21:05:33 +02:00
Alexander Weiss
5d9181d7ed prune: Correct stats and parallelize deletion 2022-05-18 21:05:04 +02:00
Alexander Weiss
99b1c2fea0 forget: parallelize deletion 2022-05-18 21:04:30 +02:00
Alexander Weiss
afa6303f15 prune: Improve algorithm 2022-05-17 12:36:01 +02:00
Alexander Weiss
54e93016b8 prune: Add more infos to output 2022-05-12 13:55:02 +02:00
Alexander Weiss
244a5bad27 prune: Correct percentage unused space after prune 2022-05-12 09:28:44 +02:00
Alexander Weiss
c036a6133e Parallelize saving of pack files in backup/prune 2022-05-12 07:06:29 +02:00
Alexander Weiss
1b3fee1572 Update dependencies 2022-05-11 08:51:29 +02:00
Alexander Weiss
041496ba52 prune: Add closure to print byte size 2022-05-10 16:06:02 +02:00
Alexander Weiss
21223cb06f Update README 2022-05-10 00:15:06 +02:00
Alexander Weiss
d6dd52b520 Fix some ProgressBars 2022-05-10 00:04:13 +02:00
Alexander Weiss
999c18d61c check/prune: Add progress bar 2022-05-10 00:04:13 +02:00
Alexander Weiss
96455714fd comment out unused functions 2022-05-10 00:04:13 +02:00
Alexander Weiss
3e35069b3f cat: Add more error messages 2022-05-10 00:04:13 +02:00
Alexander Weiss
9fb11b7202 refactor index such that no dupliacte reading of index files is neede 2022-05-10 00:04:13 +02:00
Alexander Weiss
6f00331685 Parallelize check and prune 2022-05-10 00:04:13 +02:00
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