INFORMATICS

The Best

Przełącznik języka

Zaproś mnie na KAWE

Jeżeli podoba Ci się strona i chcesz wspomóc projekt!

Postaw mi kawę na buycoffee.to

This Site

Płatnik

CMS

Hardware

Uncategorised

Emulators

Powershell

Storage Array

DNS

Antivirus program

Licznik

3.png1.png3.png0.png2.png5.png7.png
Today508
Yesterday890
This week7606
This month27470
Total3130257

Visitor Info

  • IP: 18.118.6.79
  • Browser: Unknown
  • Browser Version:
  • Operating System: Unknown

Who Is Online

10
Online

piątek, 28 luty 2025 08:49

back up CentOS using the "dd" command

Gwiazdka nieaktywnaGwiazdka nieaktywnaGwiazdka nieaktywnaGwiazdka nieaktywnaGwiazdka nieaktywna
 

back up CentOS using the "dd" command

if=/dev/sda Is cloning the entire disk and of=/dev/sdd1 Is writing to a partition. Which doesn't make much sense.

You may want to clone the entire disk onto another disk

dd if=/dev/sda conv=sync,noerror status=progress bs=64k of=/dev/sdd

Or yet clone to a compressed image

dd if=/dev/sda | gzip  > /sda.img.gz

And restore like so

gzip -d /sda.img.gz | dd of=/dev/sda

to create the image. There where four partitions in my sda

  * EFI system
  * Microsoft reserved 
  * mircosoft basic dat 
  * Windows recovery environment 
 

Search