| Summary: | Support for compressing the whole target tarball once instead of each source file individually | ||
|---|---|---|---|
| Product: | [Applications] kbackup | Reporter: | Unknown <null> |
| Component: | general | Assignee: | Martin Koller <martin> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | wishlist | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Unknown
2018-07-07 16:35:19 UTC
This would mean that whenever you need to restore a file from the backup, you would have to decompress the complete backup. You can achieve this already by using a slice-script, e.g. put the following
in a script, e.g. ~/scliceScript.sh
then start kbackup with the option --script ~/scliceScript.sh
The renaming to the original file name ensures that the internal mechanism
to reducing to a specified number of backups still work.
---------------
#!/bin/sh
mode=$1
archive=$2
case "$mode" in
"slice_finished" )
gzip -9 ${archive}
mv ${archive}.gz ${archive}
;;
esac
---------------
|