Hello,
i’m trying to figure out how should i set include/exclude patterns.
My repository is the dir “/source/Backup”
I have one folder inside at the moment “omvbackup”
Here the files inside:
steakhutzeee@DK:/srv/dev-disk-by-label-HC2/Backup/omvbackup$ ls
backup-omv-09-Jun-2021_18-22-20.blkid
backup-omv-09-Jun-2021_18-22-20.ddfull.gz
backup-omv-09-Jun-2021_18-22-20.fdisk
backup-omv-09-Jun-2021_18-22-20.grub
backup-omv-09-Jun-2021_18-22-20.grubparts
backup-omv-09-Jun-2021_18-22-20.packages
backup-omv_u-boot-09-Jun-2021_18-22-20.tar.bz
I would like to only backup the files with extension .ddfull.gz and .dd.zst
Tried with regual expression but no luck.
I did this: i:omvbackup/(?i)\.(ddfull.gz|dd.zst)$
Tried some variants but was not able to let it work.