System Software-EN
The aim of PoliArch is to provide a simple and fast way to manage your computer, this page shows some of these operations.
Indice
Save the partition table
In this example we use /dev/sda as reference (the same procedure can be used on another device).
sfdisk
# sfdisk -d /dev/sda > sda.sf
fdisk
# fdisk -l /dev/sda > sda.f (this backup can't be restored automatically but can be useful if you need to do it manually)
dd
# dd if=/dev/sda of=sda.mbr count=100 bs=512
Save the partitions' content
PoliArch provides three powerful tools for the partitions' backup. The first is partimage, the second is fsarchiver, the latter is dd, they are very powerful and versatile.
In this example we use /dev/sda1 as reference partition (the same procedure can be used on another device/partition).
Partimage
# partimage -b -d save /dev/sda1 sda1
For advanced use, it's possible to type:
# partimage --help
- See the partimage website
FSArchiver
# fsarchiver -v savefs ./sda1.fsa /dev/sda1
For advanced use, it's possible to consult:
- The guide of FSArchiver
dd
# dd if=/dev/sda1 | pv | dd of=./sda1.img
Restore the partition table
sfdisk
# cat sda.sf | sfdisk /dev/sda
dd
# dd if=sda.mbr of=/dev/sda count=100 bs=512 ; partprobe
Restore the partition content
Partimage
# partimage -b -d restore /dev/sda1 sda1.000
For advanced use, it's possible to type:
# partimage --help
- See the partimage website
FSArchiver
# fsarchiver -v restfs ./sda1.fsa id=0,dest=/dev/sda1
For advanced use, it's possible to consult:
- The guide of FSArchiver
dd
# dd if=sda1.img | pv |dd of=/dev/sda1
Altre Pagine: · Home Page · Documentazione · Downloads · Screenshots · Contatti