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

2.png8.png9.png9.png7.png7.png8.png
Today283
Yesterday833
This week1914
This month19903
Total2899778

Visitor Info

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

Who Is Online

3
Online

poniedziałek, 29 kwiecień 2024 07:19

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