Archiving an entire /dev/sda

Post here if you have questions about how to use the program
Post Reply
fergus
Posts: 2
Joined: Fri Aug 06, 2010 8:53 am

Archiving an entire /dev/sda

Post by fergus » Fri Aug 06, 2010 10:33 am

My /dev/sda looks like this

Disk /dev/sda: 80.0 GB, 80026361856 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2550 20482843+ 7 HPFS/NTFS
/dev/sda2 2551 2678 1028160 83 Linux
/dev/sda3 2679 3190 4112640 82 Linux swap / Solaris
/dev/sda4 3191 9729 52524517+ 5 Extended
/dev/sda5 3191 4214 8225248+ b W95 FAT32
/dev/sda6 4215 4342 1028128+ b W95 FAT32
/dev/sda7 4343 5366 8225248+ b W95 FAT32
/dev/sda8 5367 9473 32989446 b W95 FAT32
/dev/sda9 9474 9601 1028128+ 83 Linux
/dev/sda10 9602 9729 1028128+ 83 Linux

I can save the entire device byte by byte for later recovery using

dd if=/dev/sda of=/elsewhere/filename

but this is greedy (saves all the blank space as well as the used) and slow. I had hoped fsarchiver might provide a kind of super-efficient version of this (parsimonious and fast) like a kind of versatile partimage. And it is true I can save more than one partition into the same .fsa archive. But fsarchiver seems not to understand swap partitions (eg sda3 in this case) extended partitions (eg sda4) or the contents of extended partitions (sda5 - sda10).

Am I missing something? I'd love to be allowed the syntax

fdisk savefs /elsewhere/filename /dev/sda

!! Best wishes,

Fergus

Dukers
Posts: 19
Joined: Fri Jul 09, 2010 1:31 pm

Re: Archiving an entire /dev/sda

Post by Dukers » Thu Sep 02, 2010 5:46 pm

The next version 0.7.0 has an option to save the partition table.

Take a look:
http://www.fsarchiver.org/forums/viewto ... 2823#p2823

Post Reply