summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Bloch <matthew@bytemark.co.uk>2014-11-05 13:52:07 +0000
committerMatthew Bloch <matthew@bytemark.co.uk>2014-11-05 13:52:07 +0000
commitdd0e15e0690288fe90886ad9fc727c5325800cd5 (patch)
treea2452ee30bcb6faa7d695a660b6e5b8865a659b0
parentf69e4f9cb95b47b4c7db9f93eb1a5c6e2652186e (diff)
Stopped "--exclude /" being added to rsync command line.
-rwxr-xr-xbyteback-backup14
1 files changed, 13 insertions, 1 deletions
diff --git a/byteback-backup b/byteback-backup
index 25de560..e7f69cf 100755
--- a/byteback-backup
+++ b/byteback-backup
@@ -103,7 +103,19 @@ end
#
if @excludes.nil?
- PROBABLY_LOCAL = %w( btrfs ext2 ext3 ext4 reiserfs xfs nilfs jfs reiser4 zfs )
+ PROBABLY_LOCAL = %w(
+ btrfs
+ ext2
+ ext3
+ ext4
+ reiserfs
+ xfs
+ nilfs
+ jfs
+ reiser4
+ zfs
+ rootfs
+ )
COMMON_JUNK = %w(
/swap.file