From: Dobrica Pavlinusic Date: Fri, 2 May 2014 15:47:36 +0000 (+0000) Subject: do final rsync with --inplace to conserve disk space X-Git-Url: http://git.rot13.org/?p=sysadmin-cookbook;a=commitdiff_plain;h=5c9ca3c4e9832d446c9f1c4972e077e3894172c5 do final rsync with --inplace to conserve disk space git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@317 191e9f34-6774-4a6d-acfc-7664dacd4a2a --- 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/