LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-25-2014, 08:17 AM   #1
atlantis43
Member
 
Registered: Feb 2013
Posts: 289

Rep: Reputation: Disabled
Backup Oracle Virtual box


Hi:
Wondering if anyone can explain how to backup files onto a flash drive or CD from VB on a WindowsXP PC.
My OS needs re-installation, so I don't want to lose the files in my system.
Thanks.
 
Old 03-25-2014, 09:21 AM   #2
kkoene
Member
 
Registered: May 2008
Location: Wisconsin
Distribution: Fedora, Ubuntu, RHEL, AIX6
Posts: 33

Rep: Reputation: 0
You should be able to just copy everything from your VirtualBox VMs directory to a flash drive or DVD. That directory has all the files needed for the vm. After you re-install just copy all the files back into the same directory and you should be all set. I've done this in the past and have never had an issue with it.
 
Old 03-25-2014, 09:23 AM   #3
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by atlantis43 View Post
Hi:
Wondering if anyone can explain how to backup files onto a flash drive or CD from VB on a WindowsXP PC.
My OS needs re-installation, so I don't want to lose the files in my system.
Thanks.
1. Go to https://www.virtualbox.org
2. On the left side of the page, find the link to End-User Documentation. Click it.
3. Find the link to the user manual and download it or view it online
4. Section 3.10, named "USB support", should help you.

It would seem that writing to the physical CD or DVD drive is possible in "passthrough mode", but it sounds like this is an experimental feature.

You could also copy your files to a Windows share on the same physical box and then transfer them to a more permanent location. Or copy them to a different box. Or use Dropbox or Ubuntu One or so. There are many possibilities, depending on the size of your data, your connectivity, your skills and inclination.
 
1 members found this post helpful.
Old 03-25-2014, 09:26 AM   #4
cantab
Member
 
Registered: Oct 2009
Location: England
Distribution: Kubuntu, Ubuntu, Debian, Proxmox.
Posts: 553

Rep: Reputation: 115Reputation: 115
You can "Export Appliance" from Virtualbox. That will give you a file combining your disk image and all the configuration. However, it's likely to be a big file. You probably won't fit it on a small flash drive or a CD, but you might get it on a big flash drive (eg a 64 GB one), a recordable Blu-Ray disk or two, or an external hard drive.

Alternatively, you can run whatever backup program you like inside the guest system, using folder sharing to get them to the host and then copying to your backup media. If you just want your data files, copying /home/user on Linux, C:\Documents and Settings\User on Windows XP, or C:\Users\User on later Windows will do the trick. This will give a smaller and more manageable archive than the Virtualbox Appliance.
 
1 members found this post helpful.
Old 03-25-2014, 10:38 AM   #5
atlantis43
Member
 
Registered: Feb 2013
Posts: 289

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by berndbausch View Post
You could also copy your files to a Windows share on the same physical box and then transfer them to a more permanent location. Or copy them to a different box. Or use Dropbox or Ubuntu One or so. There are many possibilities, depending on the size of your data, your connectivity, your skills and inclination.
This looks like the best of all possible worlds. I forgot that all of my files are already in Dropbox, which simplifies everything.(It's only the code files that I need saved)
Thanks
richard
 
Old 03-25-2014, 10:41 AM   #6
atlantis43
Member
 
Registered: Feb 2013
Posts: 289

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by kkoene View Post
You should be able to just copy everything from your VirtualBox VMs directory to a flash drive or DVD. That directory has all the files needed for the vm. After you re-install just copy all the files back into the same directory and you should be all set. I've done this in the past and have never had an issue with it.
To do this, would I use the mv command? And can I use this to move a file or directory from the VM to D:\\filename ? I don't know of any other "copy" method in Linux.
 
Old 03-25-2014, 03:59 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
Just copy the VM folder with the files in it. Either command line or gui will do. Since the host is XP, just use windows explorer. I forget the command line in windows but simple cut and paste would do. copy /s or something like that???

Last edited by jefro; 03-25-2014 at 04:00 PM.
 
Old 03-25-2014, 08:57 PM   #8
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by atlantis43 View Post
My OS needs re-installation, so I don't want to lose the files in my system.
The host or the guest needs a re-install?
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Issue faced while installing Linux in virtual machine in Oracle virtual box ravisingh1 Linux - Virtualization and Cloud 5 04-07-2013 10:42 AM
[SOLVED] Ubuntu 12.04 not booting in oracle virtual box 4.0.4 KaRt Linux - Newbie 1 08-13-2012 04:39 AM
oracle virtual box srinivasmmdl Linux - Newbie 3 10-07-2011 06:37 PM
Oracle VM Virtual box on fedora 14 cardineau Linux - Virtualization and Cloud 12 04-01-2011 11:12 AM
Can't connect Oracle on Fedora Virtual Box aniceto Linux - Newbie 7 03-17-2010 04:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:22 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