[sheepdog-users] How to restore inc backups?

Valerio Pachera sirio81 at gmail.com
Thu Mar 12 09:19:05 CET 2015

Hi Fabian, I've been testing and correcting the how to.
It was mssing to take a snapshot right after the qcow2 restore.

dog cluster format
# Import mailserver as of Sunday
qemu-img convert -f qcow2 /media/nas/mailserver_sunday.qcow2 sheepdog:mailserver
# Take the first snapshot as if it was sunday
dog vdi snapshot -s sunday mailserver
# Restore incremental backup of monday
dog vdi restore -s sunday mailserver < /media/nas/mailserver_monday.img
# Restore incremental backup of thuesday
dog vdi restore -s monday mailserver < /media/nas/mailserver_tuesday.img
# And so on till saturday

It was also missing the vdi name when creating the incremental backup
-dog vdi backup -F sunday -s monday <missing> > /media/nas/mailserver_monday.img
+dog vdi backup -F sunday -s monday mailserver >

I didn't test with a true guest but I checked the md5 for each
snapshot before and after the restore and they were matching.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog-users/attachments/20150312/74996b0d/attachment-0004.html>

More information about the sheepdog-users mailing list