Introdução

Follow this guide to back up a computer using Clonezilla.

This guide shows how to use Clonezilla Live, a free tool that backs up a computer to a separate device. Clonezilla also has a server version, which we won't be using.

This guide demonstrates how to create a compressed backup of the entire drive as a file, called an image. This image can be stored on a drive with existing content, unlike a traditional drive clone, and is easier to transfer to other devices.

Clonezilla works for x86, ARM64, and RISC-V devices. The ARM64 and RISC-V versions are experimental, so verify the backup after creation.

Clonezilla is incompatible with Apple Silicon Macs without significant modification. We recommend backing them up with Time Machine instead.

It helps to understand disk partitioning before starting this guide.

  1. UMBk6rD3eKaBIbA4
    • Download the latest stable version of Clonezilla Live from NCHC.org:

    • If your computer has an ARM64 or RISC‑V processor (not Intel or AMD), download the latest version from here instead.

    • If you're on Windows, click the file ending in .iso to download it.

    • If you're on MacOS or Linux, click the file ending in .zip to download it.

    • If you're using Safari, go to Preferences → General and uncheck the Open "safe" files after downloading option before downloading.

  2. Kt3X1DnkfIOpJIyH
    • This flash drive will be erased and have Clonezilla Live written to it. Offload its contents before proceeding.

    • Connect a USB flash drive with at least 1 GB of capacity to an available USB port on the computer.

    • This drive won't be used to back up data to. It's only for Clonezilla Live itself.

  3. R2xBBGYiBlPtNlsd
    R2xBBGYiBlPtNlsd
    FL4iu2SbX3YZU6Mf
    gf6WAXS12lpcRMWY
    • Download and install Rufus:

    • For each of the below links, download the file called rufus‑[version].exe. Use the one with arm in the name for ARM computers. Don't use the one with x86 in the name.

    • Windows 8 or newer

    • Windows 7

    • Windows XP or Vista

    • Open Rufus and allow it to make changes and check for updates. Select the flash drive in the Device drop-down menu at the top. Allow Rufus to access the internet and download files if prompted.

    • Click SELECT and select the Clonezilla Live .iso file from the File Explorer window that pops up. It'll name the flash drive based on the file name, but you can give it a more friendly name like CLONEZILLA.

    • Press START and press OK on each prompt. Make sure it writes in ISO image mode, not DD.

  4. APVGC1MEkTPVgMKD
    APVGC1MEkTPVgMKD
    ZnPtXjTQrC4TFC2F
    MsMeeeplpSgwAPJL
    • Open Disk Utility and select the flash drive from the left sidebar.

    • Click Erase in the Disk Utility window. Enter a name for the volume, like CLONEZILLA. Select MS-DOS (FAT) for the format and Master Boot Record for the scheme. Then click Erase.

    • Open the terminal and type cd ~/Downloads then press Enter.

    • Type unzip [clonezilla_file_name].zip -d /Volumes/CLONEZILLA then press Enter.

    • You can drag the file and disk into the terminal from Finder instead of typing it out.

  5. yfEBCr5VrY5dCtjE
    yfEBCr5VrY5dCtjE
    tlaiQeJPpC4vStIV
    MVdNNS5VIvpvccMI
    • Open your operating system's disk utility (i.e. Disks, GParted, or KDE Partition Manager) and select the flash drive from the Devices list.

    • Look for and select an option like Format Disk or New Partition Table. Format the entire disk as MBR aka ms‑dos.

    • Select the unallocated space and click the button labeled New or + in the toolbar and create a new partition using the FAT32 file system. Give the partition a label like CLONEZILLA.

    • In your file explorer, find the mount location of the new partition. In this example, it's /run/media/nick/CLONEZILLA.

    • Open the terminal (usually called Terminal, Konsole, or opened using Ctrl+Alt+T).

    • Type cd ~/Downloads and press Enter.

    • Type unzip [clonezilla_file_name].zip -d /your/location and press Enter. Substitute /your/location for the path noted earlier in this step.

  6. ZWBd2SAYIMQwIyTo
    ZWBd2SAYIMQwIyTo
    IrdZKEWBXamLtZQZ
    m3fRcpseyVOZk4CH
    • Connect a backup device like a USB hard drive (to the fastest available USB port), network drive (via a wired connection), or internal drive (via SATA, SAS, or PCIe) to the computer.

    • Use a USB 3 drive connected to a USB 3 port for faster speeds. USB 3 ports are usually colored blue and/or labeled SuperSpeed (SS).

    • If you connect an internal drive, power off the computer before connecting it and power it back on to proceed.

  7. 2jDkT22y1gie2UVL
    2jDkT22y1gie2UVL
    KWDNW3wAX1KjrljE
    • Create a new folder on the drive you want to store your backup on.

    • The new folder's name can't have spaces. If you put it inside other folders, their names can't have spaces either.

    • Note the path of where this folder is located. In this case, it's stored in a folder called Backups on a local drive.

  8. GppYu3gAHoHNrbYH
    GppYu3gAHoHNrbYH
    GdRYZRX3wmqTLwUp
    • If you're using a Mac, shut it down and hold the Option key right after pressing the power button. Skip the remainder of this step.

    • If you're using GNU/Linux or Windows 7 or older, restart the computer and repeatedly press F11, F12, or the key specific to your device to access the boot options. Skip the remainder of this step.

    • If you're using Windows 8 or newer, open the Settings app and navigate to Update & Security (or System in Windows 11) → Recovery then select "Restart now" under Advanced startup.

    • You can also hold the Shift key while clicking Restart in the Start Menu.

  9. aTHXQTQcpA1YFKuE
    aTHXQTQcpA1YFKuE
    UcUS35b2i1Ek5Qod
    VxVUMHLncXa2Co3Y
    • If you're using GNU/Linux or Windows 7 or older, select the flash drive from the boot menu. Continue to the next step.

    • If you're using a Mac, select the EFI Boot option to boot from the flash drive. Continue to the next step.

    • In Advanced startup navigate to Use a device → UEFI: USB. This will boot the computer from the flash drive.

    • If the USB option doesn't appear in this menu, select Continue to restart the computer and try again.

  10. GWrRSNPdv4vhp565
    • On higher resolution displays, this menu can be very small. If you can't read the options, use the arrow keys to select the third option (press the down arrow twice) and press Enter.

    • Highlight the option labeled Clonezilla live (VGA with large font & To RAM) and press Enter.

    • If this doesn't work, restart and use the top (VGA 800x600) option instead.

  11. JjsOy1LCJcPap6ou
    JjsOy1LCJcPap6ou
    2sxdbkXbTJBrT6di
    dfdjoEaYOYfSvGWK
    • Highlight your preferred language by pressing the up/down arrow keys and press Enter to select it.

    • You can also use Tab to highlight <Ok> and press Enter.

    • Verify the keyboard layout it detects is accurate and press Enter. If it isn't, select Change and select the correct one.

    • Highlight Start_Clonezilla and press Enter.

  12. U5Mnx4YJZjGAnsZF
    U5Mnx4YJZjGAnsZF
    R3ahtUQMav6SSapR
    KSJ6GcXW4MLjMTp4
    • Select device-image.

    • Select local_dev to store the backup on a drive connected to the computer.

    • If you're backing up to a network device, select the applicable option and follow its prompts. When asked for a path, use the one created in this step. Skip the next step.

    • Ensure the device you're backing up to is connected securely. Press Enter to proceed to the next screen.

  13. iqkQUDEOjMSKGLgl
    • Review the storage devices in this list. In our example, the devices shown are:

    • The computer's internal 500GB NVMe drive (the one we want to back up) labeled nvme0n1

    • An external 4TB drive (the one we want to back up to) labeled sda

    • The flash drive containing Clonezilla Live itself labeled sdb

    • Ensure the drive you want to back up to is shown in this list, and note the name of each. Press Ctrl+C to proceed.

    • If the drive isn't shown, disconnect and reconnect it. If it still doesn't show up, ensure it doesn't require additional power or have compatibility issues with this device.

  14. CRLHOUhbKB4A4GMf
    CRLHOUhbKB4A4GMf
    Q2NgDZIheHYPnGXh
    • Select the partition on the drive you want to back up to. Confirm the partition by its size. In this case, it's labeled sda1, since it's the first and only partition on sda, which takes the entire capacity of the drive (3.6T). You'll specify the folder later.

    • Take note of the drive's file system. In this case it's exFAT.

    • Select whether to check and repair the drive's file system. In general, you can skip this.

    • If the file system of the drive is NTFS, it can't be checked.

  15. FhgoVXPkuceehM3q
    FhgoVXPkuceehM3q
    UEeECCBDUtgEsqNC
    AMUMybLZU3RSZPrB
    • Select the folder made in this step. Use the arrow keys to highlight folders, and press Enter to open each one.

    • Only folders without spaces in their name will appear here.

    • If needed, select Parent_directory to leave the current folder (shown above it).

    • Double-check the folder path and folder name. Tab over and select <Done>, then press Enter to proceed.

  16. OHGFVXnuJ3ZdaXRM
    • At this point, you may be asked to synchronize the system time:

    • Press Y to synchronize the time, then press Enter to set a time zone.

    • Follow the prompts, beginning with the continent and narrowing down, until you select your time zone.

    • If you're connected to the internet, it might find it automatically.

    • Select savedisk to save the entire disk as an image.

    • If you only want to save certain partitions, choose saveparts instead.

  17. YZlIyJqR2ASA6Bxd
    YZlIyJqR2ASA6Bxd
    QHMnNTJYs2E4lNUm
    • Type a name for the image file. By default, it creates a name based on the time and date. Don't use any spaces or include any of the "reserved image names" listed.

    • Tab over and select <Ok> to proceed.

  18. F4OZhGivfmKlfYmI
    F4OZhGivfmKlfYmI
    VGkR1GKubwPZYrb5
    WfWyOtIjtEANjAjo
    • Select the drive you want to back up from the list. The drive selected has an asterisk in its check box. If there's multiple options, select the drive by pressing the spacebar (Space).

    • Double-check the selected drive is the one you want to back up, then tab over and select <Ok>.

  19. OlQwH3PvZYHO1JjM
    OlQwH3PvZYHO1JjM
    ANHxpTFTU3eIIEBj
    • Select the default compression option.

    • Select whether to check the source file system. If you're backing up MacOS or Windows, skip this. For GNU/Linux systems, skip it unless you believe there's a problem.

  20. gAKfTI1WCZeOO3FR
    gAKfTI1WCZeOO3FR
    2O1gKxdrbcgqpWXE
    • Select whether to check if the the saved image is restorable. We recommend checking it.

    • Select whether to encrypt the backup or not. We recommend encrypting it if it contains sensitive data. The passphrase to decrypt it will be set later.

  21. ZPUcEDfuZ2aTf4gg
    ZPUcEDfuZ2aTf4gg
    qN4hrgvu6AyusVcy
    • Select whether to copy log files onto the Clonezilla Live USB. Keep this at the default option.

    • Select what to do when the back up process is complete. We recommend the poweroff option to shut the computer down once it's complete.

    • The choose option requires you to manually complete the process, and then select whether to shut down or reboot.

  22. NwghrdG6wcQBGZYS
    • Clonezilla will show you what partitions are being backed up.

    • Verify what's shown is what you want to back up, then type y and press Enter to continue.

    • If it looks wrong, type n instead, then press Enter and follow the prompts to correct it.

  23. A6hyZpd2WReRCQiU
    A6hyZpd2WReRCQiU
    WCMGVINHs2rCuZeW
    • If you chose not to encrypt the backup, skip this step.

    • Type the passphrase you want to use to encrypt the backup. This is how you'll decrypt the image to view its contents. Press Enter once you've typed it successfully.

    • The passphrase won't be shown on the screen as you type it. If you make a mistake, the Backspace & Delete keys still work as normal, but shortcuts like Ctrl+A don't.

    • Be careful about keyboard settings like Caps Lock and Num Lock.

    • Type the passphrase again when prompted. Press Enter again to proceed.

  24. Yw6dvWGT1WSRLCUR
    Yw6dvWGT1WSRLCUR
    2DSpOOVgKJo24rRr
    qraKq2qbVAg2TNTJ
    • Clonezilla will begin backing up the drive. This process can take a while.

    • If you're using a desktop, we recommend leaving the monitor on and connected for the entire process, since hot‑plugging it may not work.

    • If you chose the shutdown option, you can safely leave the computer alone and let it finish. Congrats, you're done!

    • If you chose the choose option, you can leave the computer temporarily, but need to complete the back up manually:

    • Press Enter to continue to the selection screen when prompted.

    • Select poweroff to turn off the computer or reboot to restart it.

    • Use Rufus or your operating system's disk utility to restore the flash drive back to normal.

Conclusão

Congratulations! You've successfully backed up a computer.

Didn't go as planned? Try asking our Answers Community for help.

Nick Schultz

Membro desde: 24/03/24

45909 Reputação

0 comentários