리눅스/공통

Clonezilla Live를 이용한 디스크/파티션 백업

씨실과 날실 2020. 9. 3. 09:00


버추얼박스 가상머신에서 Clonezilla Live CD 구동절차

아래의 가상머신 내 Clonezilla Live 구동 절치는 다음과 같은 작업 환경에서 진행하였습니다.


[작업환경]

가상머신 : VirtualBox 6.0.10

Host OS : Windows 10 2004

Guest OS : Ubuntu 20.04.1

Clonezilla Live : Clonezilla Live 20200703-focal


시스템 부팅하자마자 Esc키를 눌러줍니다. 그럼 위 그림과 같이 GNU GRUB이 뜹니다. 여기서 UEFI Firmware Settings을 선택하고 엔터키를 눌러줍니다.

Esc키를 빠르게 연타하면 위 그림과 같은 GNU GRUB 화면을 건너 뛰고 바로 아래 단계로 넘어가게 됩니다.


Boot Manager를 선택하고 엔터키를 눌러줍니다.


Clonezilla Live의 iso 파일이 가상 CD-ROM의 콘텐츠로설정되어 있는 가상 광학미디어를 부팅 미디어로 선택합니다.


어느 VBOX CD-ROM이 해당 가상 광학미디어인지 잘 모른다면 오른쪽의 Device Path를 확인하면 됩니다. 위 그림에서 Primary Master라 표시된 부분을 통해 가상 CD-ROM의 장치를 구별할 수 있습니다.

Primary Master / Primary Slave / Secondary Master / Secondary Slave

이렇게 구별되는데 위 장치들 중 Clonezilla Live의 iso 파일을 가상머신의 저장소에 등재할 때 사용한 장치를 선택해주면 됩니다.


가상머신을 통해 부팅하든 아니면 실제 시스템(Real Machine)을 이용해 USB나 CD-ROM으로 부팅하든 간에 Clonezilla Live로 정상 부팅되면 위 그림과 같은 화면을 볼 수 있습니다.

*Clonezilla live (Default settings, VGA 800x600)
Clonezilla live (Default settings, KMS with large font 公 To RAM) Clonezilla live (Speech synthesis)
Other modes of Clonezilla live
Local operating system (if available)
Network boot via iPXE
uEFI firmware setup
Clonezilla live 20200703-focal-amd64 info


Use the  and I keys to select which entry is highlighted.
Press enter to boot the selected OS, 'e' to edit the commands before booting or 'c' for a command-line.


Clonezilla live (Default settings, VGA 800x600)

위 메뉴를 선택해줍니다.


위 그림은 UEFI 사용 시스템에서의 부팅 화면입니다.  MBR 사용 시스템은 화면과 메뉴에 다소 차이가 있습니다. 그러나 우리가 사용할 주 메뉴는 동일합니다.


언어 설정 화면이 나옵니다.

|Choose language|

Which language do you prefer:

ca_ES.UTF-8 Catalan | Catala
de_DE.UTF-8 German I Deutsch
en_US.UTF-8 English
hu_HU.UTF-8 Hungarian | Magyar
es_ES.UTF-8 Spanish | Espanol
fr_FR.UTF-8 French | Franqais
it_IT.UTF-8 Italian | Italiano
ja_JP.UTF-8 Japanese | B之M중
pl_PL.UTF-8 Polish | Polski
pt_BR.UTF-8 Brazilian Portuguese | Portugues do Brasil
ru_RU.UTF-8 Russian | PyccKWki
sk_SK.UTF-8 Slovak | Slovensky
tr_TR.UTF-8 Turkish | Turkqe
zh_CN.UTF-8 Chinese (Simplified)
zh_TW.UTF-8 Chinese | (Traditional)

<Ok>

위 메뉴를 보시듯 아직 한국어는 지원되지 않습니다.


en_US.UTF-8 English

따라서 위 메뉴를 골라 영어를 선택해줍니다.


2.6.7-28 또는 20200703-focal 버전 현재 아직 한국어가 지원되지 않고 있습니다.

그러나 위 서버에 올라가 있는 drbl-2.33.3.tar.xz 파일을 열어보면 2020년 8월 6일자로 오현민님이 번역한 언어 파일이 포함되어 있는 것으로 보아 추후 공개될 Clonezilla Live와 Clonezilla Server Edition 버전부터는 한국어가 지원될 것으로 보입니다.


키보드 레이아웃 선택화면입니다.

|Keyboard configuration|

Change keyboard layout?

keep        keep the default keyboard layout - US keyboard
Change    Change keyboard layout

<Ok>

위와 같은 메뉴가 나옵니다.


keep    keep the default keyboard layout - US keyboard

기본값인 keep 항목을 선택합니다.


Clonezilla Live를 실행할 것인지 아니면 Shell 화면으로 들어갈지 선택하는 화면입니다.

|Start Clonezilla|

Start Clonezilla or enter login shell (command line)? Select mode:

Start_Clonezilla     Start Clonezilla
Enter_shell           Enter command line prompt

<0k><Cancel>

위와 같이 두 메뉴가 나옵니다.


Start_Clonezilla    Start Clonezilla

일반적으로 위 메뉴를 선택해주시면 됩니다.

만약 명령어를 이용해 Clonezilla의 기능을 사용하려 한다면 Enter_shell 항목을 선택해주시면 됩니다.


백업 및 복원에 사용할 방식을 선택하는 화면입니다.

|Start Clonezilla - Opensource Clone System (OCS)|

*Clonezilla is free (GPL) software, and comes with ABSOLUTELY NO HARRANTY*

///Hint! From now on, if multiple choices are available, you have to press space key to mark your selection. An asterisk (*) will be shown when the selection is done///

Two modes are available, you can

(1) clone/restore a disk or partition using an image
(2) disk to disk or partition to partition clone/restore.

Besides, Clonezilla lite server and client modes are also available. You can use them for massive deployment Select mode:

device-image      work with disks or oartitions using images
device-device      work directly from a disk or partition to a disk or partition
remote-source     Enter source mode of remote device cloning
remote-dest        Enter destination mode of remote device cloning
lite-server           Enter_Clonezilla_live_lite_server
lite-client            Enter_Clonezilla_live_lite_client

<0k>

자세한 설명과 함께 선택 항목 6개가 나옵니다.


device-image     work with disks or oartitions using images

일반적으로 개인이 실제로 사용할 수 있는 옵션은 위의 두 옵션 device-image와 device-device입니다. 그 중에서도 이미지로 백업하는 device-image가 백업의 보관성이나 그외 관리 측면에서 편리합니다. 따라서 위 메뉴를 권장드리며 이후의 진행도 이미지로 백업을 기준으로 진행하도록 하겠습니다.


백업 이미지를 저장하거나 읽을 장치를 지정하는 화면입니다.


|Mount Clonezilla image directory|

Before cloning, you have to assign where the Clonezilla image will be saved to or read from. We will mount that device or remote resources as /home/partimag. The Clonezilla image will be saved to or read from /home/partimag.
Select mode:

local_dev            Use local device (E.g.: hard drive, USB drive)
ssh_server           Use SSH server
samba_server       Use SAMBA server (Network Neighborhood server)
nfs_server            Use NFS server
webdav_server      Use_WebDAV_server
s3_server             Use_AWS_S3_server
enter_shell           Enter command line prompt. Do it manually
ram_disk             Use memory (OK for BT from raw device)
skip                   Use existing /home/partimage (Memory! *Not RECOMMANDED*)

<0k>

Clonezilla는 장치나 원격 소스를 /home/partimag에 마운트합니다. 그리고 해당 마운트 지점에서 이미지를 읽거나 저장합니다.


local_dev            Use local device (E.g.: hard drive, USB drive)

보통 우리는 하드 디스크나 USB 등의 시스템에 물리적으로 물려있는 로컬 장치를 백업할 것이므로 local_dev를 선택해줍니다.


로컬 장치를 마운트할 장치로 선택하면 위 그림과 같이 시스템에 물린 로컬 장치들을 체크합니다.

 USB가 꽂혀 있으면 감지되었다고 나옵니다. 아직 꽂지 않았다면 이 화면에서 꽂아주시면 됩니다. 그후 엔터키를 눌러 작업을 진행합니다.



Every 3.0s: ocs-scan-disk                                         focal: Sat Aug 22 04:37:49 2020

2020/08/22 04:37:49
You can insert storage device into this machine now if you want to use that, then wait for it to be detected.
Scanning devices... Available disk(s) on this machine:

Excluding busy partition or disk...
/dev/sda: VBOX_HARDDISK_ VBOX_HARDDISK_    10.7GB
/dev/sdb: Cruzer_Switch_ SanDisk_C「uze「_Switch」    31.3GB
Update periodically. Press Ctrl-C to exit this window.

 출력 내용을 통해 현재 사용 가능한 유휴 장치와 그에 대한 정보들을 확인할 수 있습니다. 내용을 확인하시고 Ctrl+C키르 눌러 화면을 닫아줍니다.


백업 이미지를 저장할 장치 선택 화면입니다..


|Clonezilla - Opensource Clone System (OCS) | Mode:|

Now we need to mount a device as /home/partimag (Clonezilla image(s) repository) so that we can read or save the image in /home/partimag.
///NOTE/// You should NOT mount the partition you want to backup as /home/partimag
The partition name is the device name in GNU/Linux. The first partition in the first disk is "hdal" or "sdal", the 2nd partition in the first disk is "hda2" or "sda2", the first partition in the second disk is "hdbl" or "sdbl"... If the system you want to save is MS windows, normally C: is hdal (for PATA) or sdal (for PATA, SATA or SCSI), and D: could be hda2 (or sda2), hda5 (or sda5)...

sda1     512M_vfat_NO_NAME(In_VB0X_HARDDISK_)_VBOX_HARDDISK_ :
sda2     9.5G_ext4(In_VBOX_HARDDISK_)_VBOX_HARDDISK_   
sdb1     29.1G_ntfs_USB(In_Cruzer_Switch_)_SanDisk_Cruzer_Switch_

<Ok>

Clonezilla Live가 인식한 사용 가능한 파티션들의 항목이 나열됩니다.


sdb1     29.1G_ntfs_USB(In_Cruzer_Switch_)_SanDisk_Cruzer_Switch_

백업은 백업 대상이 되는 장치와는 다른 장치에 해주는 것이 원칙입니다. 백업은 해당 콘텐츠나 장치를 이용할 수 없을 때를 대비하는 것이기 때문입니다. 그런데 백업 이미지를 백업 대상이 되는 장치에 저장한다면 만약 해당 장치가 망가졌을 때 백업 이미지를 사용할 수 있는 방법이 없어져 백업의 의미가 없어지기 때문입니다.


백업 이미지를 저장할 디렉터리를 설정는 화면입니다.

I Directory Bro山ser for Clonezilla image repository |

Which directory is for the Clonezilla image repository? (If there is a space in the directory name, it will _N0T_ be shown) When the "Current selected dir name" is what you want, use "Tab" key to choose "Done"
//NOTE// You should not choose the directory tagged with CZ_IMG. They are just for you to know the images list in the current dir.
Path on the resource: /dev/sdb1[/]
Current selected dir name: "/"

backup Aug_22_NO_SUBDIR
<AB0RT> Exit_directory_browsing

<Browse>    <Done>

기본적으로 위와 같이 해당 장치의 최상위 디렉터리(root(/) 디렉터리)로 설정되어 있습니다.

만약 따로 저장할 디렉터리가 있다면 화살표키와 엔터키를 이용해 해당 디렉터리로 이동해줍니다.


저장할 디렉터리로 이동한 다음 Tab키를 이용해 <Done>으로 이동한 다음 엔터키를 눌러줍니다.


그러면 위 그림처럼 저장할 디렉터리를 /home/partimag에 마운트한 다음 사용 가능한 용량을 체크해 출력해줍니다.

용량이 충분한지 확인하고 엔터키를 눌러 진행해줍니다.


Clonezilla 사용 방식을 선택하는 화면입니다.

| Clonezilla - Opensource Clone System (OCS) |

Choose the mode to run the following wizard about advanced parameters:

Beginner     Beginner mode: Accept the default options
Expert        Expert mode: Choose your own options
Exit            Exit. Enter command line prompt

<0k>      <Cancel>


Expert        Expert mode: Choose your own options

여기서 저는 전문가 모드를 선택했습니다. 초보자 모드와 전문가 모드의 실제 사용 난도는 차이가 없는데 사용할 수 있는 옵션들은 굉장히 제한되기 때문입니다. 물론 리눅스 자체가 익숙지 않은 분들에게는 선택 옵션이 적은 것이 보다 쉬울 수 있을 것입니다.

그러나 여기서는 사용할 수 있는 모든 옵션을 보여 드리는 것이 Clonezilla를 처음 접하시는 분들께 보다 유용하리라 생각이 되어 전문가 옵션을 선택했습니다.

물론 진행 과정은 모두 기본값을 선택할 것이기 때문에 초보자 모드를 사용하는 것과 결과적으로 백업 이미지의 생성 진행 과정과 산출물은  동일합니다.


Clonezilla를 이용해 실제 수행할 작업을 선택하는 주요 분기점 화면입니다. 전문가 모드에서는 총 10가지의 작업을 수행할 수 있습니다.

|Clonezilla - Opensource Clone System (OCS): Select mode|

*Clonezilla is free (GPL) software, and comes with ABSOLUTELY NO HARRANTY*
This software will overwrite the data on your hard drive when restoring! It is recommended to backup important files before restoring!***
///Hint! From now on, if multiple choices are available, you have to press space key to mark your selection. A asterisk(*) will be shown when the selection is done///

savedisk                     Save_local_disk_as_an_image
saveparts                   Save_local_partitions_as_an_image
restoredisk                  Restore_an_image_to_local_disk
restoreparts                 Restore_an_image_to_local_partitions
1-2-mdisks                  Restore_an_image_to_multiple_local_disks
recovery-iso-zip            Create_recovery_Clonezilla_live
chk-img-restorable        Check_the_image_restorable_or_not
cvt-img-compression     Convert_image_compression_format_as_another_image
encrypt-img                 Encrypt_an_existing_unencrypted_image
decrypt-img                 Decrypt_an_existing_encrypted_image
exit                            Exit. Enter command line prompt

<Ok>   <Cancel>


savedisk    Save_local_disk_as_an_image

saveparts   Save_local_partitions_as_an_image

일반인의 경우 백업 시 위 두 메뉴만 사용하게 됩니다. savedisk는 물리적 디스크를 통째로 백업할 때 사용하는 메뉴이고 saveparts 파티션별로 백업할 때 사용하는 메뉴입니다.


참고로 위 그림은 초보자 모드에서 사용할 수 있는 메뉴입니다. 메뉴의 수과 굉장히 줄어든 것을 볼 수 있습니다.


백업 이미지 지정 화면입니다.

|Clonezilla - Opensource Clone System (OCS) | Select mode: svedisk|
Input a name for the saved image to use

2020-08-22-05-img-svedisk-e

<Ok>   <Cancel>


2020-08-22-05-img

이미지 파일의 기본값은 백업 이미지 파일명 지정 당시의 UTC 시각(시까지)을 기준으로 위와 같은 형식으로 미리 설정되며 사용자가 자신에게 맞는 파일명을 적어주시면 됩니다.


백업 딧크 선택 화면입니다.

I Clonezilla - Opensource Clone System (OCS) | Mode: savedisk |

Choose local disk as source.
The disk name is the device name in GNU/Linux. The first disk in the system is "hda" or "sda", the 2nd disk is "hdb" or "sdb"... Press space key to mark your selection. An asterisk (*) will be shown when the selection is done

[*] sda 10.7GB_VB0X_HARDDISK__VB0X_HARDDISK_

<Ok>    <Cancel>


여기서는 백업 대상이 가능한 디스크가 하나밖에 없으므로 자동으로 설정되어 있습니다.


위 그림은 파티션 백업 지정 후 백업 이미지 파일명 지정 화면입니다.

|Clonezilla - Opensource Clone System (OCS) | Select mode: sveparts|
Input a name for the saved image to use

2020-08-22-06-img-sveparts-e

<Ok>   <Cancel>



백업할 파티션을 선택하는 화면입니다.

| Clonezilla - Opensource Clone System (OCS) | Mode: saveparts |

Choose the source partition(s) to save (only unmounted partition is listed). The partition name is the device name in GNU/Linux. The first partition in the first disk is "hdal" or "sdal", the 2nd partition in the first disk is "hda2" or "sda2", the first partition in the second disk is "hdbl" or "sdbl"... If the system you want to save is MS windows, normally C: is hdal (for PATA) or sdal (for PATA, SATA or SCSI), and D: could be hda2 (or sda2), hda5 (or sda5)... Press space key to mark your selection. An asterisk (*) will be shown when the selection is done

[*] sdal 512M_vfat_N0_NAME(In_VBOX_HARDDISK_)_VBOX_HARDDISK_
[*] sda2 9.5G_ext4(In_VBOX_HARDDISK_)_VBOX_HARDDISK_

<Ok>   <Cancel>

스페이스바로 원하는 파티션을 선택해주시면 됩니다.


복제 방식의 우선순위를 선택하는 화면입니다.

| Clonezilla advanced extra parameters | Mode: savedisk |       

Which clone program(s) and what priority do you prefer? Program priority means that if the file system is not supported by the first program, the next program will be used. E.g. If you choose "Priority: ntfsclone > part image > dd", then if the file system is xfs, Clonezilla will try to use ntfsclone first, and of course, xfs is not supported by ntfsclone, so Clonezilla will try to use part image with dd being the last program to try if that does not work.
The default settings are optimized. If you have no idea, keep the default value and do NOT change anything and continue.

-q2     Priority: partclone > part image > dd
-q1     Priority: Only dd (supports all filesystem, but inefficient)
-q      Priority: ntfsclone > part image > dd
         Priority: part image > dd (no ntfsclone)

<Ok>   <Cancel>


-q2     Priority: partclone > part image > dd

Clonezilla는 partclone, part image, ntfsclone,  dd 이렇게 총 4가지 복제방식을 지원합니다. 설정한 우선순위에 따라 복제를 시도하게 됩니다.

보통 -q2 옵션의 최우선 복제 방식인 partclone으로 대부분 복제가 가능합니다. 따라서 위 옵션을 권장드립니다. 그러나 시스템의 환경에 따라 불가능한 경우가 있습니다. 그런 경우 사용자가 설정한 우선순위에 따라 part image, ntfsclone,  dd로 복제할 수 있습니다.


백업시 설정할 수 있는 추가 옵션 설정 화면입니다.

| Clonezilla advanced extra parameters | Mode: savedisk |

Set advanced parameters (multiple choices available). If you have no idea, keep the default values and do NOT change anything. Just press Enter. (Press space key to mark your selection. An asterisk (*) will be shown when the selection is done):

[*]-c                          Client waits for confirmation before cloning
[*]-J2                         Clone the hidden data between MBR and 1st partition
[ ]-nogui                     Use text output only, no TUI/GUI output
[ ]-a                           Do NOT force to turn on HD DMA
[ ]-batch                     Run clone in batch mode (DANGEROUS!)
[ ]-rm-win-suiap-hib      Remove page and hibernation files in Win if exists
[ ]-ntfs-ok                   Skip ckecking NTFS integrity, even bad sectors (ntfsclone only)
[ ]-rescue                    Continue reading next one when disk blocks read errors
[ ]-gm                        Generate image MD5 checksums
[ ]-gs                        Generate image SHA1 checksums
[ ]-gmf                      Generate checksum for files in device after saving
[ ]-noabo                    Image not only accessible by owner
[ ]-ps                         Play sound when the job is done

<Ok>    <Cancel>


[*]-c                          Client waits for confirmation before cloning
[*]-J2                         Clone the hidden data between MBR and 1st partition

일반적으로 위 두 옵션은 기본값으로 설정되어 있습니다.


압축 방식을 설정하는 화면입니다.

| Clonezilla advanced extra parameters | Mode= s石vedisk |

Choose the compression option. If you have no idea keep the default value and do NOT change anything.

-z1 gzip compression (fast udth a smaller image)
-z2 bzip2 compression (slowest but smallest image)
-z3 lzo compression (faster with image size approx, to that of gzip)
-z4 lzma_compression_(slowest_but_also_small_image,_faster_decompression_than_bzip2)
-z5 xz_compression_(slowest_but_also_small_image,_faster_decompression_than_bzip2)
-z6 lzip_compression_(slowest_but_also_small_image,_faster_decompression_than_bzip2)
-z7 lrzip_ci〕mpression_(Slow_but_also_small_image)
-z8 lz4_compression_(Fast_but_also_larger_image)
-z9 zstd_compression_(Very_fast_and_small_image_like_gzip)
-z0 No compression (fastest but largest image size)

<Ok>   <Cancel>


-z1 gzip compression (fast udth a smaller image)

위의 -z1 옵션의 gzip 압축(.gz)이 가장 무난한 압축 방식입니다. 따라서 이 옵션을 추천드립니다.

위에 나열된 지원 압축 방식들 중 리눅스 계열에서 보편적으로 쓰이는 압축 방식은 gzip, bzip2, xz 이 셋 정도로 간추릴 수 있습니다. 즉 이 세 압축 방식은 사용자들에게 안정성과 사용편의성 등에 대한 인정을 받았다고 볼 수 있습니다.

참고로 초보자 모드에서는 -z1, -z9, -z0 옵션만 지언합니다.



| Clonezilla advanced extra    parameters | Mode: savedisk |

The size in MB to split the partition image file into multiple volumes files. Please input the number larger than 10. If you do not want to split the image file, enter a big number, e.g. "1000000". Please do not use "0" anymore, because if your GNU/Linux distribution use new /sbin/init from upstart, it will be confused with the "0". //NOTE// For the FAT32 image repository, the number should not be larger than 4096.

4096

<Ok>   <Cancel>

분할 백업 용량 설정 화면입니다.


1000000

4096

요즘은 파일시스템의 발전과 저장매체 용량의 대용량화로 인하여 굳이 분할 백업할 융ㄴ이 작아지고 있습니다. 따라서 보통의 겨우 1000000(MB)과 같이 큰 단위의 숫자를 입력하여 파일ㅇㄹ 굳이 쪼개지 않도록 설정하는 것이 좋습니다.

단 저장 매체의 파일시스템이 FAT32인 경우 단일 파일로는 최대 4096(MB)까지만 저장할 수 있으므로 거기에 맞춰 설정해주시면 됩니다.


백업 이미지를 저장하기 전에 파일시스템의 오류 여부를 확인하고 손상이 있는 경우 자동 복구 기능을 사용할지 설정하는 화면입니다.

| Clonezilla advanced extra    parameters | Mode: savedisk |       

Choose if you want to check and repair the file system before saving it. This option is only for certain file systems which are well supported by fsck on GNU/Linux, like ext2/3/4, reiserfs, xfs, jfs, vfat. Not for NTFS, HFS+...

-sfsck Skip checking/repairing source file system
-fsck Interactively check and repair source file system before saving
-fsck-y Auto (Caution!) check and repair source file system before saving

<Ok> <Cancel>


-sfsck Skip checking/repairing source file system

-fsck Interactively check and repair source file system before saving

기본값은 -sfsck이고 저장 매체의 무결성을 확인하고 백업하려면 -fsck 옵션을 선택하시기 바랍니다.


백업 이미지를 저장 후 해당 이미지의 무결성을 검사하고 문제가 있는 경우 오류를 수정할 지 설정하는 화면입니다.


| Clonezilla advanced extra    parameters | Mode: savedisk |       

After the image is saved, do you want to check if the image is restorable? ///NOTE/// This action will only check the image is restorable, and it will not write any data to the harddrive.

Yes, check the saved image
-scs No, skip checking the saved image

<Ok>   <Cancel>


Yes, check the saved image

기본값인 검사 및 자동 복원 기능을 건택해줍니다.


이미지의 암호화 여부를 설정하는 모습입니다.

| Clonezilla advanced extra    parameters | Mode: savedisk |       
Do you want to encrypt the image?
If yes, eCryptfs program will be used to encrypt the image. It uses industry-standard cryptographic ciphers, key generation, and passphrase protection mechanisms. Hithout your salt/passphrase or private key, nobody will be able to retrieve your data.
//NOTE// You have to remember the passphrase, otherwise the image will _N0T_ be usable in the future.

-sene Not to encrypt the image
-enc Encrypt the image

<Ok>   <Cancel>


-sene Not to encrypt the image

이미지를 암호화할 필요 없다면 기본값인 -sene 옵션을 선택하고 진행해주면 됩니다.


백업 완료 후 수행할 작업을 선택하는 화면입니다.

| Mode: savedisk |
The action to perform when everything is finished:

-p choose Choose reboot/shutdown/etc when everything is finished
-p cmd Enter command line prompt
-p reboot Reboot
-p poweroff Shutdown

<Ok>    <Cancel>


-p choose Choose reboot/shutdown/etc when everything is finished

백업 완료 후에 수행할 작업을 선택하도록 하는 -p choose가 기본값입니다. 이것이 실수를 줄일 수 있는 옵션입니다. 굳이 미리 선택할 필요는 없으니까요.


위 그림은 디스크 백업시 작업 환경을 검토하는 과정입니다.

내용을 확인하고 y를 눌러 본격적으로 진행해줍니다.


/usr/sbin/ocs-sr -q2 -c -j2 -z1 -i 4096 -sfsck -sene -p choose savedisk 2020-08-22-05-img-savedisk-e sda


위 그림은 파티션 백업 시 작업 환경을 검토하는 과정입니다.

내용을 확인하고 y를 눌러 본격적으로 진행해줍니다.


/usr/sbin/ocs-sr -q2 -c -j2 -z1 -i 4096 -sfsck -sene -p choose saveparts 2020-08-22-06-img-savedisk-e sda1  sda2


위 그림으 partclone으로 백업 이미지를 생성하는 과정의 모습니다.


위 그림으 partclone으로 생성한 백업 이미지의 무결성을 검사하는 과정의 모습니다.


위 그림은 무결성 검사에 대한 보고서와 이후 과정에 대한 설명을 출력합니다.

내용을 확인하고 엔터키를 눌러줍니다.


백업 완료 후 수행할 작업의 선택 화면입니다.

| Choose mode |

Now you can choose to:

poweroff     Poweroff
reboot        Reboot
cmd           Enter command line prompt
rerun1        Start over (image repository /home/partimag, if mounted, will be amounted)
rerun2        Start_over_(keep_image_repository_/home/partimag_mounted)
rerun3        Start_over_(Remount_subdir_in_medium_of_current_repository):_/dev/sdbl[/backup]

<Ok>


reboot        Reboot

보통은 재부팅 옵션을선택하여 시스템을 정상적으로 부팅 후 백업 이미지를 확인합니다.


엔터키를 누르면 시스템이 재부팅됩니다.