Direct Admin Backup Exclusion

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

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

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

Set up the backup exclude file:

[root@miss ~]# cat /home/radioshack/.backup_exclude_paths

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.