Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
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.
|
|
01-03-2017, 12:38 PM
|
#1
|
Member
Registered: Dec 2016
Posts: 242
Rep:
|
Backing up Live Persistent USB - Where is my data?
Hi
If you're not actually booting off a Live Persistent USB, is it still possible to back up your data?
By data, I mean any text or script files saved to your Home folder.
Where is this located on the USB?
|
|
|
01-03-2017, 12:45 PM
|
#2
|
LQ Guru
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,326
|
i think fedora live stores the virtual file system in /where-ever-usb-partition-is-mounted/live/squash.fs
i think you can loop mount it with kpartx or something and extract files from it.
|
|
|
01-03-2017, 12:54 PM
|
#3
|
Moderator
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,895
|
Quote:
Originally Posted by eco_bach
Hi
If you're not actually booting off a Live Persistent USB, is it still possible to back up your data?
By data, I mean any text or script files saved to your Home folder.
Where is this located on the USB?
|
I do this all the time, however in a more logical manner. My system has additional USB interfaces, plus also an SD card interface. I store data to a non-boot drive. Why not just do that? In fact, I like to separate my boot drive always from my data drive. Hence when I change my system, it doesn't impact my data.
|
|
|
01-03-2017, 05:11 PM
|
#4
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,872
|
Quote:
If you're not actually booting off a Live Persistent USB, is it still possible to back up your data?
|
You could do a full install on a usb and then it would be no problem. If you want to use a live system on a usb "without" persistence, you could do that but it involves more steps. You would first boot into a Linux system and shrink the partition on which the Live system is, then create another partition on the remaining space of the usb. Then when booting the 'live' usb, you would need to create a directory for a mount point, manually mount the partition and copy whatever data you want to it. You won't be able to save it in the /home directory. Everytime you reboot, you would need to go through the process of creating a mount point and mounting the partition. A lot simpler to use persistence.
|
|
|
All times are GMT -5. The time now is 10:15 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
|
|