#3131 PR merged: Improve the description of AUTOEXCLUDE_PATH

Labels: documentation, fixed / solved / done

pcahyna opened issue at 2024-01-17 14:27:

Pull Request Details:
  • Type: Enhancement

  • Impact: Low

  • Reference to related issue (URL): #2261

  • How was this pull request tested?

pvcreate /dev/vdb
vgcreate testvg /dev/vdc
vgcreate testvg /dev/vdb
lvcreate -L 1G testvg -n testlv 
mkfs.xfs /dev/testvg/testlv
lvcreate -L 1G testvg -n testlv2
mkfs.xfs /dev/testvg/testlv2
mount /dev/testvg/testlv /mnt
mkdir /mnt/test
mount  /dev/testvg/testlv2 /mnt/test

now rear savelayout creates disklayout.conf with this:

fs /dev/mapper/testvg-testlv /mnt xfs uuid=9f9a9874-0325-43e0-9979-6849109c44a9 label=  options=rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota
#fs /dev/mapper/testvg-testlv2 /mnt/test xfs uuid=b6dd2e35-2e7a-495a-a219-4e38b41a3530 label=  options=rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota
  • Description of the changes in this pull request:

Separate the example of AUTOEXCLUDE_PATH handling from the treatment of /tmp. /tmp is a bad example, because it is handled specially by the default setting of another config variable (BACKUP_PROG_EXCLUDE). Use /mnt as an example for AUTOEXCLUDE_PATH instead and make clear that AUTOEXCLUDE_PATH=( /tmp ) does not exclude files under /tmp from the backup and an independent setting is used for that purpose.

pcahyna commented at 2024-01-18 17:45:

thanks for the review! merging


[Export of Github issue for rear/rear.]