Excluded Directories from backups are not excluded
short description
Excluded Directories from backups fail
correct behaviour
Excluded directories not backed up
environment
Server OS: Debian
Server OS version: 10
ISPConfig version: 3.15.3p
references
https://www.howtoforge.com/community/threads/excluded-directories-from-backups.82384/
additional info
I've tested the cron process outoput and it seems "--exclude" folders are there, but they are not excluded! From my top process (I suppose this line is trimmed by my terminal screen):
1864 root 20 0 8856 3048 2712 S 7.3 0.1 0:07.58 tar pcf - --exclude=./backup* --exclude=/var/www/clients/client2/web3/private/moodledata --exclude=/var/www/clients/client2
I've tested a simple command in this server, succesfully (it backups 1 of 2 test files):
tar pcf - --exclude=../*.kk ../backup.* | pigz > backup.tar.gz