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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-25-2014, 09:17 AM
|
#1
|
Member
Registered: Feb 2013
Posts: 289
Rep:
|
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.
|
|
|
03-25-2014, 10:21 AM
|
#2
|
Member
Registered: May 2008
Location: Wisconsin
Distribution: Fedora, Ubuntu, RHEL, AIX6
Posts: 33
Rep:
|
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.
|
|
|
03-25-2014, 10:23 AM
|
#3
|
LQ Addict
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316
|
Quote:
Originally Posted by atlantis43
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.
|
03-25-2014, 10:26 AM
|
#4
|
Member
Registered: Oct 2009
Location: England
Distribution: Kubuntu, Ubuntu, Debian, Proxmox.
Posts: 553
Rep:
|
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.
|
03-25-2014, 11:38 AM
|
#5
|
Member
Registered: Feb 2013
Posts: 289
Original Poster
Rep:
|
Quote:
Originally Posted by berndbausch
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
|
|
|
03-25-2014, 11:41 AM
|
#6
|
Member
Registered: Feb 2013
Posts: 289
Original Poster
Rep:
|
Quote:
Originally Posted by kkoene
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.
|
|
|
03-25-2014, 04:59 PM
|
#7
|
Moderator
Registered: Mar 2008
Posts: 22,246
|
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 05:00 PM.
|
|
|
03-25-2014, 09:57 PM
|
#8
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep:
|
Quote:
Originally Posted by atlantis43
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?
|
|
|
All times are GMT -5. The time now is 03:38 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|