mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-10 02:39:40 +00:00
Add rsync filter for backups
This commit is contained in:
parent
e9b074594b
commit
f2eca2a969
21
root/.rsync-filter
Normal file
21
root/.rsync-filter
Normal 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/*
|
Loading…
Reference in a new issue