On Thu, 4 Apr 2019 11:19:27 -0300, you wrote:

> Hi;
>
> Is it safe to backup a vm's .VDI while the vm is paused?

No. The .VDIs of a VM does not contain the machine state, just
the disk image. And after just a puase that may not be complete
(unflushed buffers etc.). The machine state is in memory at that
moment.

If you want to backup the state of a running VM, you can try to
perform this procedure:

1) Stop the VM, saving its state
VBoxManage controlvm <vm> savestate
https://www.virtualbox.org/manual/UserManual.html#vboxmanage-controlvm

2) Backup all files related to the machine, not just the VDIs,
also any snapshots and other state information.
I don't know from the top of my head which files those are.

3) Start the machine from its saved state.
VBoxManage startvm ...
https://www.virtualbox.org/manual/UserManual.html#vboxmanage-startvm

If your machine is broken nad needs a restore:

4) power the VM off.

5) Restore all files from the backup in step 2)

6) Start the machine from its saved state (as restored).
   same as step 3)


> Will the backedup .VDI start normally if I need to use it?

It might, if it is able to recover from the inconsistencies.


> Thanks,

HTH

-- 
Regards,
Kees Nuyt



_______________________________________________
VBox-users-community mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vbox-users-community
_______________________________________________
Unsubscribe:  
mailto:[email protected]?subject=unsubscribe

Reply via email to