LinuxQuestions.org
Help answer threads with 0 replies.
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-17-2007, 06:04 PM   #1
rfw
LQ Newbie
 
Registered: Nov 2006
Location: PA, USA
Distribution: Ferdora Redhat i386
Posts: 23

Rep: Reputation: 15
Question How to backup Linux


I tried to set-up a back up drive for Linux. (/dev/sdb) I screwed up and some how blew away my Linux
Drive (/dev/hdb). The only thing left on /dev/hdb was some files and the GRUB directory. (I saw this with a free for a month tool called DiskDoctor.)
I just did the command below, to show what partitioning tools I have available to me from Fedora Red Hat Linux.
Which partitioning of these partitioning tool should I use and what should I type?

find / -name *disk -print
find: WARNING: Hard link count is wrong for /selinux: this may be a bug in your filesystem driver. Automatically turning on find's -noleaf option. Earlier results may have failed to include directories that should have been searched.
/sys/power/disk
/sys/bus/ide/drivers/ide-disk
/sbin/sfdisk
/sbin/mkbootdisk
/sbin/fdisk
/usr/lib/syslinux/memdisk

Here are the disks on my PC
(The data below should be a table with colums for the disk name, type and its use)

Disk Name USE (with type and size)
HDA Windows IDE 40 GB home in trouble needs
replacement badly fragmented
HDB Linux IDE 120 GB. This is the disk I wiped
out when I tried to partition and format
and setup /dev/sdb for a Linux back-up
SDA Windows usb SATA 80 GB back-up from
CMSproducts

SDB Linux SATA 160 GB. This is the drive I
want to partition and format as the
back-up dive for Linux.

Here is the result of running df -hT

[root@localhost robertwessling]# df -hT
Filesystem Type Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
ext3 107G 3.3G 98G 4% /
/dev/hdb1 ext3 99M 9.8M 84M 11% /boot
tmpfs tmpfs 506M 0 506M 0% /dev/shm

Here is the result of running /sbin/fdisk -l /dev/hdb

Disk /dev/hdb: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 13 104391 83 Linux
/dev/hdb2 14 14593 117113850 8e Linux L

I hope someone can help me. I was without Linux for 2 weeks while tried to recover it. I fisnslly had to redo the installation. I have laid out this information in table form for clarity. But, my layout changes when I submit. I wish I could set up a table for my 4 disks
 
Old 01-17-2007, 06:12 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 124Reputation: 124
If you want text to preserve it's formatting on here, you can always use the [ code ] tag (remove spaces).

On another note: what command did you try to use to perform the backup? What are you trying to do now? Perform a backup again? I'm a fan of rsync, personally.
 
Old 01-17-2007, 09:23 PM   #3
rfw
LQ Newbie
 
Registered: Nov 2006
Location: PA, USA
Distribution: Ferdora Redhat i386
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Matir
If you want text to preserve it's formatting on here, you can always use the [ code ] tag (remove spaces).

On another note: what command did you try to use to perform the backup? What are you trying to do now? Perform a backup again? I'm a fan of rsync, personally.
I used fdisk to create the whole disk as partiton 1 on what I thought was the 160 GB SATA disk.
I rebooted to go back to Windows and Linux stopped working. I never got to back up the disk. I later learned from a friend (who is always very busy)that the SATA board I was using didn't support Linux. I now have a SATA internal board, RocketRaid 1520 that does support Linux.
I plan to put it into my PC tomorrow. But I want to know the commands to format and parition /dev/sdb drive. I thank you for your quick reply.
 
  


Reply


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
DISCUSSION: Using Linux to backup and recover Windows and Linux systems shshjun LinuxAnswers Discussion 3 12-05-2009 10:42 PM
Using rsync to backup data. Best way to backup folders? Micro420 Linux - General 2 11-23-2006 02:13 AM
Error when attempting backup with File Backup lglrgl Linux - Software 0 08-03-2006 11:38 AM
How do YOU backup Linux? paulinimus Linux - Software 11 08-26-2004 06:34 AM
Selective backup to CDRW, or other backup methods. trekk Linux - Software 1 11-03-2003 03:46 PM

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

All times are GMT -5. The time now is 12:26 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration