LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 01-03-2017, 12:38 PM   #1
eco_bach
Member
 
Registered: Dec 2016
Posts: 242

Rep: Reputation: Disabled
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?
 
Old 01-03-2017, 12:45 PM   #2
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,326

Rep: Reputation: 919Reputation: 919Reputation: 919Reputation: 919Reputation: 919Reputation: 919Reputation: 919Reputation: 919
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.
 
Old 01-03-2017, 12:54 PM   #3
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,895
Blog Entries: 13

Rep: Reputation: 4945Reputation: 4945Reputation: 4945Reputation: 4945Reputation: 4945Reputation: 4945Reputation: 4945Reputation: 4945Reputation: 4945Reputation: 4945Reputation: 4945
Quote:
Originally Posted by eco_bach View Post
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.
 
Old 01-03-2017, 05:11 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,872

Rep: Reputation: 2574Reputation: 2574Reputation: 2574Reputation: 2574Reputation: 2574Reputation: 2574Reputation: 2574Reputation: 2574Reputation: 2574Reputation: 2574Reputation: 2574
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.
 
  


Reply

Tags
backup, live usb


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Problem with persistent usb live -Snake- Linux - Software 18 11-01-2016 04:33 PM
making Fedora Live CD have persistent data MrUmunhum Linux - Software 4 10-08-2015 09:21 PM
network configuration not persistent : live USB nkd Debian 6 01-14-2014 09:21 PM
Will Deleting 70-persistent-cd.rules and 70-persistent-net.rules Work As a "Live USB" Konphine Linux - General 1 10-09-2011 03:55 PM
How to create a persistent live USB darksyde Linux - Software 2 04-20-2010 03:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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