From df20300fcc658c5e66176787c7d70b898328ec5a Mon Sep 17 00:00:00 2001 From: Gabriel Filion Date: Thu, 13 Nov 2014 02:55:49 -0500 Subject: [PATCH] avoid using asterisks in default includes bup doesn't do file name globbing by itself for "included" paths. we need to manually specify all possibilities. Luckily these are quite simple to list. --- handlers/bup.helper.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/bup.helper.in b/handlers/bup.helper.in index 3d4c87e..06bc0e9 100644 --- a/handlers/bup.helper.in +++ b/handlers/bup.helper.in @@ -307,7 +307,7 @@ bup_wizard() { # Global variables whose '*' shall not be expanded set -o noglob - bup_includes=(/etc /var/backups /var/spool/cron/crontabs /root /home /usr/local/*bin /var/lib/dpkg/status*) + bup_includes=(/etc /var/backups /var/spool/cron/crontabs /root /home /usr/local/bin /usr/local/sbin /var/lib/dpkg/status /var/lib/dpkg/status-old) # Normally, bup automatically excludes its own local repository to avoid # re-entrant backups (backing up the backup) so we shouldn't need to specify # the bupdir in the excludes