Firstly, enable the capability for exemptions. In the file
/usr/local/directadmin/conf/directadmin.conf,
add this line:
1 |
allow_backup_exclude_path=1 |
and restart DirectAdmin.
Finally, inside the folder (ex. /home/sbz/) create the file .backup_exclude_paths which includes the folders that will be exempt.
Example:
1 2 |
domains/sbz.gr/public_html/logs domains/sbz.gr/public_html/sign/documents |