Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-12-2005, 09:50 PM   #1
LQ Newbie
Registered: Oct 2005
Distribution: debian sarge& windows xp
Posts: 21

Rep: Reputation: 15
Question Disk backup?

I'm about to install Linux and generally wreak havoc on my new Thinkpad, but I really want to backup and keep the total configuration (Including the "Access IBM" parts). I read somewhere that the extra bits are hidden by the BIOS, but when I run Knoppix, /etc/fstab shows what seems to be the hidden partition as /dev/hda2 vfat ............
Now, in order to back up, I have shared a folder on my Windows box, and smbmounted it, I then typed:

dd if=/dev/hda | bzip2 | cat > /mnt/shared/backup.img.bz2

The file is currently growing and growing on my windows hd...... Will this do the trick?

Is samba/ Windows/ my router reliable enough not to corrupt this data? Would it be safer to save it to my ipod, if not? Is there some utility on Windows that will zero all the unallocated blocks, so that the compression will be more efficient? Can I make bzip2 do a multipart archive? Will NTFS object to the file if it gets too big?



I need to know how to split it up into pieces < 2gb

Update 2:

Ok, I tried

dd if=/dev/hda | bzip2 | split - backup.img.bz2. -b 512m

and it seems to be working, but my original questions still stand.

Last edited by rookworm; 11-12-2005 at 11:58 PM.
Old 11-13-2005, 07:51 AM   #2
LQ Guru
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,311

Rep: Reputation: Disabled
There is a dedicated tool, it's called partimage.
Old 11-13-2005, 02:50 PM   #3
LQ Newbie
Registered: Oct 2005
Distribution: debian sarge& windows xp
Posts: 21

Original Poster
Rep: Reputation: 15
It took twelve hours, the second time! Will it take that long to restore? How does one speed it up?
Old 11-13-2005, 06:38 PM   #4
Senior Member
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Will it take that long to restore? How does one speed it up?
If you want to be quick select No Compression.


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
disk to disk backup for debian/Mempis on bootable cd-- advice loninappleton Linux - Software 3 05-27-2005 02:00 AM
can I backup a root disk and boot from the new backup disk linuxbkp Linux - Enterprise 3 10-15-2004 07:42 PM
Hard disk backup/copy.... Irf Linux - General 26 05-27-2004 06:26 PM
Using Knoppix for disk image backup johnp Linux - Software 1 04-29-2004 12:26 AM
What have I got already for disk backup in RedHat 8.0? SparceMatrix Linux - General 8 02-19-2003 04:13 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:49 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration