From 4078fc302313001b29057aa856e9b46ff659ebd7 Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Sun, 14 Nov 2021 11:57:08 +0100 Subject: Check pack files for integrity The check command does not verify the actual pack files by default, since restic needs to read each one and the repository may be hosted on a cloud repository where downloads are expensive. Since we are working with local repositories, checking for integrity is not that expensive. However, to ease the daily burden, use the --read-data-subset option to check only a random 10% of the repository. After a couple of weeks, then, we can be reasonably sure that, if no errors were raised, the repository is still intact. --- lifeboat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lifeboat b/lifeboat index 11148f9..2d88f9d 100755 --- a/lifeboat +++ b/lifeboat @@ -55,7 +55,7 @@ retain_default() { } clean_default() { - restic check + restic check --read-data-subset 10% restic prune } -- cgit v1.2.3-2-gb3c3