]> git.ipfire.org Git - ipfire-2.x.git/commit
backup: Create tarball in one pass
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 2 Dec 2021 12:37:14 +0000 (12:37 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Tue, 14 Dec 2021 13:39:21 +0000 (14:39 +0100)
commit51ed815f5ebb4668b54f4715b1273a6ce6f16764
tree0e28602dfb7c54d7767eb853426df3ed1adcb8ca
parentd9db91609faddd9e57542bc523e703abc85c3116
backup: Create tarball in one pass

This patch is changing the behaviour of the backup script so that it
creates one tarball and compresses it in one go.

This will save storing the original tarball on disk before compressing
it which on my test system requires significant disk space.

This patch also solves a bug where the backup file included with the ISO
image could not be extracted because it was not gzip-compressed when it
was expected to be.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/backup/backup.pl