Re: backups of bhyve images

2014-12-10 Thread John-Mark Gurney
Pete Wright wrote this message on Mon, Dec 08, 2014 at 15:44 -0800: On 12/08/14 15:30, Craig Rodrigues wrote: (3) When you want to backup the VM, do a zfs snapshot take take a snapshot of the ZFS zvol. will this ensure that your zvol is consistent, or rather will the filesystem

Re: backups of bhyve images

2014-12-10 Thread Pete Wright
On 12/10/14 11:29, John-Mark Gurney wrote: Pete Wright wrote this message on Mon, Dec 08, 2014 at 15:44 -0800: On 12/08/14 15:30, Craig Rodrigues wrote: (3) When you want to backup the VM, do a zfs snapshot take take a snapshot of the ZFS zvol. will this ensure that your zvol is

Re: backups of bhyve images

2014-12-10 Thread John-Mark Gurney
Pete Wright wrote this message on Wed, Dec 10, 2014 at 11:40 -0800: On 12/10/14 11:29, John-Mark Gurney wrote: Pete Wright wrote this message on Mon, Dec 08, 2014 at 15:44 -0800: On 12/08/14 15:30, Craig Rodrigues wrote: (3) When you want to backup the VM, do a zfs snapshot take take

Re: backups of bhyve images

2014-12-10 Thread Alfred Perlstein
On 12/10/14 11:40 AM, Pete Wright wrote: On 12/10/14 11:29, John-Mark Gurney wrote: Pete Wright wrote this message on Mon, Dec 08, 2014 at 15:44 -0800: On 12/08/14 15:30, Craig Rodrigues wrote: (3) When you want to backup the VM, do a zfs snapshot take take a snapshot of the ZFS zvol.

Re: backups of bhyve images

2014-12-09 Thread Julian Elischer
On 12/9/14, 7:44 AM, Pete Wright wrote: On 12/08/14 15:30, Craig Rodrigues wrote: (3) When you want to backup the VM, do a zfs snapshot take take a snapshot of the ZFS zvol. will this ensure that your zvol is consistent, or rather will the filesystem overlaid on the zvol device be ensured

backups of bhyve images

2014-12-08 Thread John
Hello list, I have a few questions about creating backups to be stored offsite. If a guest is running, can I compress the image without it becoming inconsistent? If not, can it be copied without it becoming inconsistent? By inconsistent, I mean will I see weird effects and broken files if the

Re: backups of bhyve images

2014-12-08 Thread Alfred Perlstein
On Dec 8, 2014, at 8:33 AM, John wrote: Hello list, I have a few questions about creating backups to be stored offsite. If a guest is running, can I compress the image without it becoming inconsistent? If not, can it be copied without it becoming inconsistent? By inconsistent, I mean

Re: backups of bhyve images

2014-12-08 Thread Craig Rodrigues
On Dec 8, 2014, at 8:33 AM, John wrote: I have each image on its own (external to the image) ZFS filesystem. Internally the image is using ufs if freebsd, ext3fs if linux. Would using some ZFS method of duplication be better? In this case, would the image become inconsistent? I recommend

Re: backups of bhyve images

2014-12-08 Thread Pete Wright
On 12/08/14 15:30, Craig Rodrigues wrote: (3) When you want to backup the VM, do a zfs snapshot take take a snapshot of the ZFS zvol. will this ensure that your zvol is consistent, or rather will the filesystem overlaid on the zvol device be ensured it is consistent when the hypervisor

Re: backups of bhyve images

2014-12-08 Thread Peter Grehan
Hi John, Basically, what I want to do is to run accurate backups without shutting down and restarting the VM. Is this possible? If it isn't, I think the only alternative is to make a script that shuts the vm down, copies it, restarts the vm then runs its compression and backup-over-ssh routine.