From 1226688b2244c490ffccace89de3f0bdd68dea4c Mon Sep 17 00:00:00 2001 From: Julian Rother <julian@cccv.de> Date: Sun, 18 Aug 2024 22:50:19 +0200 Subject: [PATCH] Make sure restic does not scan /proc (and fail if files disappear there) This should have been prevented by --one-file-system, but restic has a bug. So we need this workaround. --- defaults/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/defaults/main.yml b/defaults/main.yml index 76a27dc..f75ee30 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -50,6 +50,9 @@ backups: '/var/lib/php/sessions/*': true '/root/.ansible/*': true '/var/log/**/*.gz': true + # Workaround for https://github.com/restic/restic/issues/3366 + '/proc': true + '/dev': true include_files: '/': true hooks: -- GitLab