LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 11-12-2005, 08:50 PM   #1
rookworm
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?


Thanks


Update:

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 10:58 PM.
 
Old 11-13-2005, 06:51 AM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
There is a dedicated tool, it's called partimage.
 
Old 11-13-2005, 01:50 PM   #3
rookworm
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, 05:38 PM   #4
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

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


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

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

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