LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-04-2005, 01:53 PM   #1
guggenheim
LQ Newbie
 
Registered: Mar 2004
Distribution: Redhat 9
Posts: 12

Rep: Reputation: 0
Knoppix Restore


My system stopped working because I had a segmentation fault. I have decided to boot with a knoppix live cd so I can backup my files to a tape drive. I notice when I use tar, it copies the files from my mounted drive. So it I want to backup /var the actual path is /mnt/hdb2/var. When I do a restore later, how do I get rid of the /mnt/hdb2 so it will restore to the right driectory?

-Thanks for the help.
 
Old 05-04-2005, 02:00 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
BACKUP:
Code:
cd /mnt/hdb2

tar cvzf /somewhere/var.tar.gz var/
RESTORE:
Code:
cd /somewhere

tar xvzf var.tar.gz -C /mnt/hdb2
 
Old 05-04-2005, 02:06 PM   #3
guggenheim
LQ Newbie
 
Registered: Mar 2004
Distribution: Redhat 9
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks.
 
  


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
i got knoppix on cd and it rocks when booted! wut can i do to install knoppix on HD? kublador Linux - Distributions 4 12-12-2005 04:08 PM
Knoppix Settings Restore from USB Flash PulsarSL Linux - Newbie 2 07-22-2005 05:41 PM
KNOPPIX 3.8.1 Problem with knoppix-installer Wireless-G-DSL Debian 4 04-13-2005 05:03 PM
unable to restore lilo even using Knoppix thas Mandriva 4 04-05-2004 07:48 PM
How does one remove the custom KNOPPIX graphics from a KNOPPIX HD Install? apache363 Linux - Distributions 2 03-29-2004 05:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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