do final rsync with --inplace to conserve disk space
[sysadmin-cookbook] / recepies / ganeti / migrate-lxc / 7-lxc-stop-container.sh
index b6de545..0cfe3df 100755 (executable)
@@ -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/