Precedence of BACKUP_PROG_EXCLUDE over BACKUP_PROG_INCLUDE
Issue
- Directories mentioned in
BACKUP_PROG_INCLUDE
not included while taking backup inReaR
. /opt/application
is included inBACKUP_PROG_INCLUDE
in/etc/rear/site.conf
but not getting included while taking backup.
# cat /etc/rear/site.conf
OUTPUT=ISO
BACKUP=NETFS
BACKUP_URL=nfs://192.168.56.1/storage
BACKUP_PROG_EXCLUDE=( "${BACKUP_PROG_EXCLUDE[@]}" '/tmp/*' '/proc/*' '/sys/*' '/dev/*' '/opt/*' )
BACKUP_PROG_INCLUDE=( "{BACKUP_PROG_INCLUDE[@]}" '/opt/application' '/tmp/source' )
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9 Beta
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.