LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-12-2011, 05:34 PM   #1
edhe1
Member
 
Registered: Sep 2006
Posts: 115

Rep: Reputation: 0
Adding back-up data crashed the system


I installed a fresh version of squeeze, with kde, and it worked fine. After I untarred my backup /home and /etc, things came to a standstill. I got a final ERROR code after /home. After a restart I got a 'fix your system' warning requiring a Control-D, which I couldn't type.

I had used tar -xzvpPf ......
If I had included a -w, which asks for confirmation before overwriting data, could I have prevented this problem.
 
Old 05-14-2011, 06:49 AM   #2
jv2112
Member
 
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 719

Rep: Reputation: 106Reputation: 106
My best guess would be you have a configuration file that is throwing the error. I have always found that a restore of data only ( pictures , documents et cettera) and a reconfigure of the new system file by file would be smoothest since in many cases each instal is somewhat different and the dependencies may get thrown off. Especially if your new system has some variant from your old (Packages, Distribution, Kernel) . I typically back up


Quote:
crontab -l> /home/joe/System-Logs/Config.bak/Crontab/"Current_Crontab--$(date +%F)"
cp -uv /etc/apt/sources.list /home/joe/System-Logs/Config.bak/Sources/"sources.list--$(date +%F)"
cp -uv /etc/bash.bashrc /home/joe/System-Logs/Config.bak/Bash/"bash.bashrc--$(date +%F)"
cp -uv /etc/samba/smb.conf /home/joe/System-Logs/Config.bak/Samba/"smb.conf--$(date +%F)"
cp -uv /etc/conky/conky.conf /home/joe/System-Logs/Config.bak/Conky/"conky.conf--$(date +%F)"

& separately

dd if=/dev/sda of=/home/joe/System-Logs/MBR/mbr-$(date +%F).txt count=1 bs=512 # In Roots cron job.

Then install base system move over data manually to the desired directories and finally modify configuration.

If I was in your boat I would untar the data into a temp directory then move it around manually.
 
1 members found this post helpful.
  


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
HELP! trying to recover data from crashed system vegastech Linux - Hardware 8 09-18-2009 02:04 PM
System crashed - Can't get back into X Virtuality Linux - Software 2 12-15-2007 06:52 PM
how to retrive raid data from a crashed system zealkabi Linux - Enterprise 3 02-06-2006 01:59 PM
Get back a file from a crashed linux system ust Linux - Software 8 05-26-2005 01:27 AM
How to back up Thunderbird when system crashed? SonoranFun Linux - Software 8 12-26-2004 10:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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