LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 04-28-2014, 06:30 PM   #1
alyab
LQ Newbie
 
Registered: Apr 2014
Location: Brooklyn
Distribution: Mint petra 16
Posts: 23

Rep: Reputation: Disabled
Keeping a backup of my linux virtual machine on my pc - I'm a newbie


Yesterday, I tried running my virtual machine (linux mint), but it wouldn't start. Eventually I concluded that the mint OS was messed up. I opened a log file in the virtual machine folder, and saw something about missing information in an .ini file.

I was successfully able to do a system restore, and the virtual machine worked again. I don't know how it got corrupted, but this can obviously happen again easily. So I want to know how to constantly make a back-up of my virtual machine, to another location on my pc?

I am new both to vmware player and linux. I have vmware player installed in a weird place in windows xp - in the "all users" "documents" folder!
When I installed the mint iso, it put the virtual machine it created in a folder called "my virtual machines" in the documents folder of the user that was logged in at the time. what needs to be backed up, how, and where to put it?

Thank you.
 
Old 04-29-2014, 08:59 AM   #2
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Rep: Reputation: 131Reputation: 131
An error about an ini file smacks of a windows problem, not necessarily a problem with your VM. What exactly did the message say - this is rather important as without this we are just guessing. What exactly did you restore - your entire Windows installation? Doing so would probably fix the Windows problem that kept the VM from starting.

If it was a Windows problem, backing up your VM will not accomplish anything, and restoring it when it won't start will not fix the problem.

FWIW, if you are a novice at running VMs, I would recommend you scrap vmware player and use VirtualBox. I've found VirtualBox to be easier to use and to be more reliable. I've used them for many years, and I'll take VirtualBox over vmware any day.

To answer your question - just backup the entire "my virtual machines" directory. I usually copy it to a separate hard drive, but where you put it is up to you. Just make sure vmware is not running at the time you do this.
 
Old 04-29-2014, 09:07 AM   #3
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
Fwiw, windows xp is not supported anymore, You might want to upgrade or download and use a linux distro.
 
Old 04-29-2014, 02:53 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,981

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
You simply copy the folder of the virtual machine. It should contain at least one virtual hard drive file and maybe a few other files like a vmx and a few others. When you move it, and then start it back, it may say something to the effect of a new vm. Did you copy it or move it. I think it gives the hint of say copy if in doubt.
 
1 members found this post helpful.
Old 04-29-2014, 09:17 PM   #5
alyab
LQ Newbie
 
Registered: Apr 2014
Location: Brooklyn
Distribution: Mint petra 16
Posts: 23

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Ook View Post
An error about an ini file smacks of a windows problem, not necessarily a problem with your VM. What exactly did the message say - this is rather important as without this we are just guessing. What exactly did you restore - your entire Windows installation? Doing so would probably fix the Windows problem that kept the VM from starting.

If it was a Windows problem, backing up your VM will not accomplish anything, and restoring it when it won't start will not fix the problem.

FWIW, if you are a novice at running VMs, I would recommend you scrap vmware player and use VirtualBox. I've found VirtualBox to be easier to use and to be more reliable. I've used them for many years, and I'll take VirtualBox over vmware any day.

To answer your question - just backup the entire "my virtual machines" directory. I usually copy it to a separate hard drive, but where you put it is up to you. Just make sure vmware is not running at the time you do this.
Yes I did a complete system restore, and held my breath to see if it would work. (system restore is highly unreliable...)

Regarding VMware vs. Virtualbox, As I understand it it's just a matter of personal preference. The person guiding me in setting up a virtual machine to run linux on my PC recommended VMware, and has very clear tutorials about how to do this. He responded to my initial inquiries about ways to stay safe while XP remains on my PC. I know he's just some guy on a forum, but other highly ranked members on that forum encouraged me to follow his advice.
So that is what I have done.

Regarding the errors, error messages still scroll by rather quickly as the MintMate virtual machine is opening. The .ini one is not there anymore.
I do not know where to find the errors that were listed as I opened the linux virtual machine. I have some log files in the virtual machine folder that may be helpful. I do not know if there are also vmware player logs, nor whether they are relevant. Of course I can post the most recent log: the one that opened the virtual machine I am currently using. would that help?

It's a rather long log, but maybe the errors are in there.

I don't want to burden random people with such a long log, unless this is something they can visually scan easily and see the problems, due to their expertise.

If you are offering to look through that entire log, I'd be happy to post it!

Last edited by alyab; 04-29-2014 at 10:13 PM. Reason: possible cross post
 
Old 04-29-2014, 09:40 PM   #6
alyab
LQ Newbie
 
Registered: Apr 2014
Location: Brooklyn
Distribution: Mint petra 16
Posts: 23

Original Poster
Rep: Reputation: Disabled
XP security while surfing the web in a linux virtual machine

Quote:
Originally Posted by szboardstretcher View Post
Fwiw, windows xp is not supported anymore, You might want to upgrade or download and use a linux distro.
Yes, I know, and I've been asking this question everywhere, in terms of security.

I will start a new thread for this.

Last edited by alyab; 04-29-2014 at 10:23 PM. Reason: starting new thread with additional question.
 
Old 04-29-2014, 10:06 PM   #7
alyab
LQ Newbie
 
Registered: Apr 2014
Location: Brooklyn
Distribution: Mint petra 16
Posts: 23

Original Poster
Rep: Reputation: Disabled
I'm keeping my machine open for now, while I wait for anyone to post some responses. As per advice that jefro gave me in another post,

http://www.linuxquestions.org/questi...um-4175503284/

I will most probably be uninstalling and reinstalling vmware in a more logical location, so that I can open it up it in my non-admin windows user. The VMware Icon appears on all desktops, it just won't open the virtual machine. I wonder if the "my virtual machines" folder also needs to be moved, as to be accessible to all users. I sure hope I don't have to do a completely new mint installation.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Need to take backup of Virtual Machine digsecurity Linux - Virtualization and Cloud 15 04-30-2010 08:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 05:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration