I have:
Yet
does this:
Why?
Due to past experiences with rsync exclude patterns I also tried
and:
Both did not manage to exclude those VM images I backed up already as VM backups with PBS either.
Code:
root@tuxmaster:/srv/pve# cat .pxarexclude
/dump/*
/images/*
/template/cache/*
Code:
root@tuxmaster:~# find / -name "vm-10001-disk-0.qcow2"
/srv/pve/images/10001/vm-10001-disk-0.qcow2
Yet
Code:
root@tuxmaster:~# LANG=en strace -e openat -fff proxmox-backup-client backup --include-dev /boot/efi --include-dev /srv root.pxar:/
does this:
Code:
[pid 32405] openat(8, "pve", O_RDONLY|O_NOCTTY|O_NOFOLLOW|O_CLOEXEC) = 9
[pid 32405] openat(9, ".pxarexclude", O_RDONLY|O_NOCTTY|O_CLOEXEC) = 10
[pid 32405] openat(9, "dump", O_RDONLY|O_NOCTTY|O_NOFOLLOW|O_CLOEXEC) = 10
[pid 32405] openat(10, ".pxarexclude", O_RDONLY|O_NOCTTY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 32405] openat(9, "images", O_RDONLY|O_NOCTTY|O_NOFOLLOW|O_CLOEXEC) = 10
[pid 32405] openat(10, ".pxarexclude", O_RDONLY|O_NOCTTY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 32405] openat(10, "10001", O_RDONLY|O_NOCTTY|O_NOFOLLOW|O_CLOEXEC) = 11
[pid 32405] openat(11, ".pxarexclude", O_RDONLY|O_NOCTTY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
[pid 32405] openat(11, "vm-10001-cloudinit.qcow2", O_RDONLY|O_NOCTTY|O_NOFOLLOW|O_CLOEXEC) = 12
[pid 32405] openat(11, "vm-10001-disk-0.qcow2", O_RDONLY|O_NOCTTY|O_NOFOLLOW|O_CLOEXEC) = 12
Why?
Due to past experiences with rsync exclude patterns I also tried
Code:
/dump/**
/images/**
/template/cache/**
and:
Code:
/dump/**/*
/images/**/*
/template/cache/**/*
Both did not manage to exclude those VM images I backed up already as VM backups with PBS either.