Add rsync filter for backups

This commit is contained in:
ItsDrike 2021-05-03 16:27:55 +00:00
parent e9b074594b
commit f2eca2a969
No known key found for this signature in database
GPG key ID: B5F6B41F708C3ADD

21
root/.rsync-filter Normal file
View file

@ -0,0 +1,21 @@
# Filter file for rsync based backups
# rsync needs to be ran with --filter 'dir-merge /.rsync-filter'
# argument to look through this filter file
- /dev/*
- /proc/*
- /sys/*
- /media/*
- /mnt/*
- /tmp/*
- /run/*
- /var/run/*
- /var/lock/*
- /var/lib/docker/*
- /var/lib/schroot/*
- /lost+found
- /data/*
- /DATA/*
- /cdrom/*
- /sdcard/*
- /swapfile
- /swap/*