1

I use partimage to backup my ext4 partition, but during backup, the partition was detected as an ext3 partition. So I'm wondering if this can cause something bad.

Gilles 'SO- stop being evil'
  • 807,993
  • 194
  • 1,674
  • 2,175
daisy
  • 53,527
  • 78
  • 236
  • 383

4 Answers4

3

http://www.partimage.org/Main_Page

Limitations - Partimage does not support ext4 or btrfs filesystems.

It is unwise to use it for ext4 as long as that message is on their website.

jippie
  • 13,756
  • 10
  • 44
  • 64
0

If you don't use extents, ext4 can be mounted as ext3.

Serpens
  • 101
  • 1
  • 2
    If I don't know the details of filesystem technology, does it mean that there is no problem and nothing will be lost? – mattdm May 09 '12 at 11:19
0

You need partclone.ext4. It copy partitions without zero sectors. Works like a charm https://partclone.org/

Backup partition example: partclone.ext4 -c -s /dev/sda1 -o dir_with_backups/sda1.img

-c means copy mode

-s means source (what to backup)

-o means output (where to save backup)

Restore partition example: partclone.ext4 -r -o /dev/sda1 -s dir_with_backups/sda1.img

-r means recover mode

Doe
  • 11
  • 1
  • This is true, now in 2020. It presumably wasn't true in 2012 when the question was asked, because of [a reference](https://unix.stackexchange.com/a/37638/100397) to `partimage` not yet supporting `ext4` or `btrfs` filesystems – roaima Dec 31 '20 at 12:32
  • (And no, I didn't downvote you.) – roaima Dec 31 '20 at 12:33
  • This user is spraying multiple sites in the Stack Exchange network with this link. Flagging as spam. – tripleee Dec 31 '20 at 12:33
  • I believe the answer attracted spam flags due to its phrasing and nearly-bare link. A little explanation of how to use the tool would go a long way towards making this a more useful answer. – Jeff Schaller Dec 31 '20 at 12:34
0

Use fsarchiver instead. fsarchiver supports ext4.

It can be thought of as a successor to Partimage, which has mostly ceased development since 2009. It is written by one of the Partimage developers, Francois Dupoux, and has other features which Partimage lacks. See the comparison table FSARCHIVER VS PARTIMAGE.

Faheem Mitha
  • 34,649
  • 32
  • 119
  • 183