-
Bug
-
Resolution: Not a Bug
-
Undefined
-
None
-
rhel-8.5.0
-
None
-
Moderate
-
sst_cs_system_management
-
ssg_core_services
-
None
-
False
-
-
None
-
None
-
None
-
None
-
If docs needed, set a value
-
-
All
-
None
Description of problem:
From the doc:
—
- You cannot exclude a device (e.g. /dev/sdg) directly. Instead you have to exclude everything
- ON that device and then the dependency tracker will automatically exclude the device from the
- recovery (because there won't be any recovery information for that "unnecessary" device).
—
=> I understand that a device should be excluded if all the content of it is excluded, right ?
Version-Release number of selected component (if applicable):
rear-2.6-3.el8
How reproducible:
always
Steps to Reproduce:
1. mount a device on /mnt:
/dev/vdb on /mnt type xfs (rw,relatime,seclabel,attr2,inode64,logbufs=8,logbsize=32k,noquota)
2. exclude the content of this mount point in local.conf:
BACKUP_PROG_EXCLUDE=('/tmp/' '/dev/shm/' '/mnt/*' )
3. run rear -dD mkbackup
Actual results:
/mnt is in include and also exclude list:
—
2022-01-31 03:55:21.607004724 Include list:
2022-01-31 03:55:21.608574187 /
2022-01-31 03:55:21.610103973 /boot/efi
2022-01-31 03:55:21.611596090 /boot
2022-01-31 03:55:21.613123105 /mnt
2022-01-31 03:55:21.614607219 Exclude list:
2022-01-31 03:55:21.616118655 /tmp/*
2022-01-31 03:55:21.617591045 /dev/shm/*
2022-01-31 03:55:21.619125130 /mnt/*
2022-01-31 03:55:21.620635750 /usr/*
2022-01-31 03:55:21.622085199 /var/*
2022-01-31 03:55:21.623513501 /tmp/rear.FOC2JRt0rV15jr9
—
And vdb is in disk layout:
—
disk /dev/vdb 536870912 loop
fs /dev/vdb /mnt xfs uuid=6f06686e-dda0-4578-99e3-9eb1297a04da label= options=rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota
—
todo:
—
todo /dev/vdb disk
todo fs:/mnt fs
—
Expected results:
disk vdb not touched
Additional info:
I did't dig to find the dependency tracker to understand why the device is not excluded.
Please let me know if help is needed.
Thank you !
- is incorporated by
-
RHELDOCS-16687 [DDF] This guide could really benefit from a section about exclusions. There are many different kinds of data sources
- Closed
- external trackers