top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Backups Snapshots, Shutting Down, Starting Up of virtual machine

0 votes
318 views

I'm looking at setting up an automated backup schedule for my virtual systems on a headless Virtualbox server which runs on Centos 6. I would have liked to have been able to:

  1. Take a snapshot of a running VM
  2. Backup the snapshot of that VM in the running state (none of these files would be modified while I backed them up)
  3. Copy the backup to a remote location
  4. Remove the snapshot

I've done some searching and seen some discussion:
1. Snapshots using vboxmanage might not work if the system is running.
2. For some reason this process is flawed...

So perhaps I need to:

  1. Shutdown the Running VM
  2. Wait until the VM has completed shutdown
  3. Backup the VM
  4. Start the VM
  5. Copy the backup to a remote location

Has anyone got a nice little script to do either of these? Is there a nice way to wait until the VM has completed shutdown?

posted Aug 6, 2013 by Jagan Mishra

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote
 
Best answer

Googled and found the following thread
http://www.mail-archive.com/vbox-users-community@lists.sourceforge.net/msg04668.html

At the bottom there is a link to a script to do backups with lvm. There is some other info on this message as well:
http://www.mail-archive.com/vbox-users-community@lists.sourceforge.net/msg04674.html

answer Aug 6, 2013 by Luv Kumar
Similar Questions
+1 vote

I am currently running RHEL 6.5 on a 64-bit laptop, and installed a new fedora 20 VM using the Virtual Machine Manager -- seemed to work fine, f20 came up, looks good, but now i want to shut it down, so from the f20 console, I selected "Virtual Machine" -> "Shut Down" -> "Shut Down".

Where it *looks* like the VM shuts down, but the VMM window shows "f20 Running"

Should I expect a different result? I was expecting the VMM window to show that that VM was Stopped or something.

0 votes

Oracle Virtual box is heavy option for me to launch virtual machines. I am looking for a lite weight hypervisor option or any other solutions which make my life easy.

0 votes

I am looking for internals how a host windows machine provides communication to virtual machines created through Oracle VM box ?

0 votes

I am using Ubuntu 14.04 and facing problem with ubuntu? On my machine Skype starts, asks to log in and then presents its list of connections. However after a couple of moments the list of connections gets
"inactive" (greys out) and finally disappears.

In the crash window that then pops up I see that something with libc.so.6 seems to be amiss.

Any idea what I can do to fix the problem and where do I find the info that is in the "crash report window" so I
could add it to this email if needed?

0 votes

I am using Virtualbox on a Windows 10 host system, a Fedora 25 guest system, and with guest additions.

I recently had a Windows 10 automatic update and this problem did not seem to occur before that. I have tried to uninstall the updates, but I think some of the changes are left behind.

The crash seems to happen while I am accessing the internet on the host system and working in the guest system.

The blue screen of death has the following error type in it SYSTEM_THREAD_EXCEPTION_NOT_HANDLED

Has anyone else been experiencing this ?

...