Follow Star

How do I backup my entire Decian system?

Create Backup (von A auf A )

1
$ sudo dd if=/dev/sda4 of=/backup/sda4.img

or

1
$ sudo dd if=/dev/sdb of=/dev/sda4.img

Restore Backup (von A auf B )

1
$ sudo dd if=/backup/sda4.img of=/dev/sdb
1
$ sudo dd if=/dev/sda2 of=/dev/sda4 skip=1000 count=1
1
$ rsync -r /home/knows1/test /home/knows1/test1
1
2
$ ls test1
test

الحفاظ على الأذونات

1
$ rsync -ra /home/knows1/test /home/knows1/test1

Comments