From 9b89d66043c9798798da848e92fe41ab97abb29c Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Fri, 2 May 2014 15:48:22 +0000 Subject: [PATCH] exclude rootfs/(var)?/tmp from rsync git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@319 191e9f34-6774-4a6d-acfc-7664dacd4a2a --- recepies/ganeti/migrate-lxc/5-lxc-rsync-snapshot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recepies/ganeti/migrate-lxc/5-lxc-rsync-snapshot.sh b/recepies/ganeti/migrate-lxc/5-lxc-rsync-snapshot.sh index 54cb35f..bb70f55 100755 --- a/recepies/ganeti/migrate-lxc/5-lxc-rsync-snapshot.sh +++ b/recepies/ganeti/migrate-lxc/5-lxc-rsync-snapshot.sh @@ -4,4 +4,4 @@ . ./0-lxc.sh . ./0-ganeti.sh -ssh_lxc rsync -ravH --numeric-ids --sparse --delete --exclude /tmp --exclude /var/tmp /tmp/ganeti-$host/ $storage:/tmp/$host/ +ssh_lxc rsync -ravH --numeric-ids --sparse --delete --exclude /tmp --exclude /var/tmp --exclude /rootfs/tmp --exclude /rootfs/var/tmp /tmp/ganeti-$host/ $storage:/tmp/$host/ -- 2.20.1