commit a50c141f70dec624aece43bbf0ce841b801b24d9
parent 35da86bc7a51572e5aadf0c487b8162752a2b58c
Author: mtmn <miro@haravara.org>
Date: Fri, 8 May 2026 08:56:16 +0200
backup: ignore .git dirs for plakar
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/backup/backup.hs b/backup/backup.hs
@@ -168,6 +168,8 @@ plakarSync cfg name = case Map.lookup name (cfgPlakarDirs cfg) of
, "**/Steam*"
, "--ignore"
, "**/mnt*"
+ , "--ignore"
+ , "**/.git*"
, dir
]
unless (ok ec) $ throwError $ "plakar failed for " <> name
@@ -235,6 +237,8 @@ backup cfg btype push = case btype of
, "**/Steam*"
, "--ignore"
, "**/mnt*"
+ , "--ignore"
+ , "**/.git*"
, cfgHome cfg
]
unless (ok ec) $ throwError "plakar local backup failed"