From 5c9ca3c4e9832d446c9f1c4972e077e3894172c5 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Fri, 2 May 2014 15:47:36 +0000 Subject: [PATCH] do final rsync with --inplace to conserve disk space git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@317 191e9f34-6774-4a6d-acfc-7664dacd4a2a --- recepies/ganeti/migrate-lxc/7-lxc-stop-container.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recepies/ganeti/migrate-lxc/7-lxc-stop-container.sh b/recepies/ganeti/migrate-lxc/7-lxc-stop-container.sh index b6de545..0cfe3df 100755 --- a/recepies/ganeti/migrate-lxc/7-lxc-stop-container.sh +++ b/recepies/ganeti/migrate-lxc/7-lxc-stop-container.sh @@ -8,4 +8,4 @@ ssh_lxc /etc/init.d/lxc-watchdog stop $host ssh_lxc rm -v /var/lib/lxc/$host/on_boot -ssh_lxc rsync -ravH --numeric-ids --sparse --delete --exclude /tmp --exclude /var/tmp /mnt/$host/ $storage:/tmp/$host/ +ssh_lxc rsync -ravH --numeric-ids --inplace --delete --exclude /tmp --exclude /var/tmp /mnt/$host/ $storage:/tmp/$host/ -- 2.20.1