From f2eca2a96939a3a1fb0595d898037024f6866cb7 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Mon, 3 May 2021 16:27:55 +0000 Subject: [PATCH] Add rsync filter for backups --- root/.rsync-filter | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 root/.rsync-filter diff --git a/root/.rsync-filter b/root/.rsync-filter new file mode 100644 index 0000000..6161ac9 --- /dev/null +++ b/root/.rsync-filter @@ -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/*