Hello rustic
eans,
we are happy to release rustic 0.10.0. This release features various new functionalities including:
- Chunking can be customized using
rustic init
orrustic config
. Moreover, fixed-size chunking has been added as option preventing potential chunking attacks and also improves backup performance for large files. rustic key
commands have been added allowing management of repository keys/passwords- Telemetry output has been added to the
backup
command supporting Prometheus and OpenTelemetry - A diff view comparing snapshots/paths has been added to the interactive mode. This and the interactive ls mode also compute summaries for (sub)-dirs if requested.
- The new option
delete-unchanged
makesforget
delete snapshots which identical to the previous one.
Note that some of the changes may slightly change existing behavior, those changes are marked as breaking below.
Notable is the removal of filter-fn
. Please replace it with filter-jq
.
Thanks a lot to everyone who contributed with code, issues or discussions!
Changelog
Features
- Add fixed size chunking and allow fine-tune of rabin chunking (#422)
- (backup) Add --name option to select snapshot(s) from config to backup (#1531)
- (backup) [breaking] rename backup skip_identical_parent to skip_if_unchanged (#387)
- (commands) Add missing key subcommands (#1385)
- (commands) [breaking] Fine-tune output for snapshots command when no grouping is given (#1375)
- (commands) [breaking] Extend logging (#1463)
- (commands) make group_by a global option (#1545)
- (forget) Add delete_unchanged option to forget (#386)
- (diff) Use local PATH1 as PATH2 if no new snapshot/path is given (#1474)
- (warmup) Add warmup wait command (#379)
- (interactive) [breaking] Add interactive diff / overwork diff output (#1480)
- (interactive) Reduce memory consumption of summary (#1489)
- (interactive) remember summary when switching snapshot/ls/diff views (#1485)
- (interactive) ls: Add options to compute cumulative statistics (#1479)
- (interactive) Add possibility to change snapshot hostname (#1498)
- Add environment variables to the hooks (#1518)
- push prometheus metrics to pushgateway on-demand (#1404)
- OpenTelemetry Protocol support for metrics (#1473)
- Allow to use OPENDALHOT_* and OPENDALCOLD_* env variables (#1392, #1393)
Bugfixes
- Allow to unset append-only mode (#414)
- Fix repair index (#406)
- Allow to request identical snapshot multiple times (#408)
- Don't panic when reading empty files (#381)
- sanitize paths after run-before hook (#1549)
- Handle dry-run for all commands (#1546)
- Don't allow wrong commands in front of valid ones (#1464)
- (commands) remove SIGPIPE default handler (#1431)
- (config) set a non-zero default progress interval for progress options (#1378)