From 6ccb15b76279424fe96cdfa9e43c94967bea5f8e Mon Sep 17 00:00:00 2001 From: mergwyn Date: Wed, 23 Oct 2024 19:36:23 +0100 Subject: [PATCH] Explcilty igmore 'unknown or unsupported entry type' error --- site-modules/profile/files/kopia-backup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site-modules/profile/files/kopia-backup b/site-modules/profile/files/kopia-backup index d79d547e..aca756cf 100755 --- a/site-modules/profile/files/kopia-backup +++ b/site-modules/profile/files/kopia-backup @@ -12,7 +12,7 @@ for repo in ${REPOS} ; do #kopia snapshot create --all ${ARGS} while read host snap ; do log_info "Creating snapshot ${snap} in ${repo} for ${host}" - kopia snapshot create ${ARGS} "${snap}" + kopia snapshot create ${ARGS} "${snap}" | grep -v 'unknown or unsupported entry type' done< <( kopia snapshot list --json --max-results=1 | jq -r '.[] | "\(.source.host) \(.source.path)"' | grep $(hostname)) day_of_week=$(date +%u)