From 840002424923c4097750dfaea4fb26dae9fb5dfe Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Wed, 12 Jun 2024 19:04:46 -0500 Subject: [PATCH] cloud0: Exclude Nextcloud trash from backups Files in the Nextcloud trash bin do not need to be backed up. They are often large (i.e. my Signal backups), and presumably, they are not needed anyway; why would they be in the trash otherwise? --- host_vars/cloud0.pyrocufflink.blue.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/host_vars/cloud0.pyrocufflink.blue.yml b/host_vars/cloud0.pyrocufflink.blue.yml index bd043c7..80e485d 100644 --- a/host_vars/cloud0.pyrocufflink.blue.yml +++ b/host_vars/cloud0.pyrocufflink.blue.yml @@ -1,3 +1,4 @@ burp_backup: - include: /var/lib/nextcloud/apps - include: /var/lib/nextcloud/data +- exclude_regex: /var/lib/nextcloud/data/[^/]+/files_trashbin