Direct Admin Backup Exclusion

I store a bunch of Linux ISOs on my server to keep handy.

[root@miss ~]# du -sh /home/radioshack/domains/radioshack.tech/public_html/iso/
19G /home/radioshack/domains/radioshack.tech/public_html/iso/

But I don’t want all that included in the backup file. I added this and restarted directadmin:

[root@miss ~]# grep exclude /usr/local/directadmin/conf/directadmin.conf
allow_backup_exclude_path=1

Set up the backup exclude file:

[root@miss ~]# cat /home/radioshack/.backup_exclude_paths
domains/radioshack.tech/public_html/iso

And that worked to exclude all those ISOs from the backup file.

-rw-r----- 1 admin radioshack 179M Oct 2 13:02 user.admin.radioshack.tar.gz

I’ve researched and unfortunately there’s no global exclude file like in cPanel.