From fe3801ee1905129c8f3e1e1e0816fb86ac082143 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 27 Nov 2024 10:48:51 -0300 Subject: src/check: Remove --verify-data from borg The run-time of it is not compatible with the cronjob model. An improved version should use the cronjob to trigger the action by puttingit in a queue,and the cronjob itself would be finished. Asyynchronously a worker would consume the message and do the content verification, and at the end report the success or failure. A later cronjob at the end of the day could report the statuses of the events from the day. --- src/check | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/check b/src/check index 91bc153..12e3a86 100755 --- a/src/check +++ b/src/check @@ -26,10 +26,10 @@ btrfs: /dev/vda3 /dev/vdb1 /dev/vdc1 borg: borg-standby borg-offsite borg-standby: ALWAYS - env BORG_REPO=/mnt/backup/borg borg check --verbose --progress --verify-data + env BORG_REPO=/mnt/backup/borg borg check --verbose --progress borg-offsite: ALWAYS - borg check --verbose --progress --verify-data + borg check --verbose --progress ALWAYS: -- cgit v1.2.3