FreeBSD: Backup --exclude-file in bsdtar

Version 1.501

Bugfix
Finished

Related thread: http://forum.directadmin.com/showthread.php?t=42082&p=269356&highlight=#post269356 Moved the --exclude-file option to be immediately after the filename.tar.gz, rather than after the -C /home/user. The change does apply to all OS's. Note that it's possible there will be 2 --exclude-file options set, one after the other. The first is for the non_readable_files: http://www.directadmin.com/features.php?id=1481 and the second is for the backup_exclude_path feature: http://www.directadmin.com/features.php?id=1737 Tested with CentOS and the double calls do match all patterns in both files. Double calls would only happen if both are enabled, which is common: strict_backup_permissions=1 allow_backup_exclude_path=1

Interested to try DirectAdmin? Get a 30-day Free Trial!