summaryrefslogtreecommitdiff
path: root/scripts/wsrep_sst_rsync.sh
diff options
context:
space:
mode:
authorVasil Dimov <vasil.dimov@galeracluster.com>2018-07-16 09:41:37 +0200
committerJan Lindström <jan.lindstrom@mariadb.com>2018-08-03 12:31:25 +0300
commit62e290923e0d9caedeb91e40d16b5dcef983048f (patch)
treed6175a7ae02f075ab59bd59a79a461985a66b826 /scripts/wsrep_sst_rsync.sh
parent639bd1c71f52f0bd6d91b33d9bee53a8c35d760b (diff)
downloadmariadb-git-62e290923e0d9caedeb91e40d16b5dcef983048f.tar.gz
Put one filter per line in wsrep_sst_rsync.sh
This way it is more readable and easy to change, also if a new entry is added or one removed, the diff will be easier to read.
Diffstat (limited to 'scripts/wsrep_sst_rsync.sh')
-rw-r--r--scripts/wsrep_sst_rsync.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/scripts/wsrep_sst_rsync.sh b/scripts/wsrep_sst_rsync.sh
index 5617142ea99..89afaa6ecbd 100644
--- a/scripts/wsrep_sst_rsync.sh
+++ b/scripts/wsrep_sst_rsync.sh
@@ -120,8 +120,14 @@ fi
# --exclude '*.[0-9][0-9][0-9][0-9][0-9][0-9]' --exclude '*.index')
# New filter - exclude everything except dirs (schemas) and innodb files
-FILTER=(-f '- /lost+found' -f '- /.fseventsd' -f '- /.Trashes'
- -f '+ /wsrep_sst_binlog.tar' -f '+ /ib_lru_dump' -f '+ /ibdata*' -f '+ /*/' -f '- /*')
+FILTER=(-f '- /lost+found'
+ -f '- /.fseventsd'
+ -f '- /.Trashes'
+ -f '+ /wsrep_sst_binlog.tar'
+ -f '+ /ib_lru_dump'
+ -f '+ /ibdata*'
+ -f '+ /*/'
+ -f '- /*')
if [ "$WSREP_SST_OPT_ROLE" = "donor" ]
then