1nickmascare1993
(usa Manjaro Linux)
Enviado em 28/06/2021 - 15:59h
Some of you might have experienced it, you tinkered with your system and now it's broken. If only you had an exact backup of your system that you could copy back to your disk. If only you had made that Clonezilla backup that restores everything exactly the way it was!
So that's what this tutorial will teach you. How to make a backup of your system using Clonezilla, an exact copy that can be easily restored.
The advantage of Clonezilla is that it makes an exactly cloned backup copy of your system. This means that if you restore your system from such a backup, that you will retain all your files, configuration settings and installed packages.
So here it goes.
Note before you start: To navigate through option menus in Clonezilla, you can use the arrow keys on your keyboard and to confirm your selected option you can press enter. To select an option that has a checkbox, you can use the spacebar on your keyboard. To navigate to specific options like confirmation buttons like "OK" or "Cancel", you can use the tab-key.
Backup
1. Boot into Manjaro's live CD (or usb-stick)
2. Download and install the Clonezilla package using your package manager (like pacman, Pamac or Octopi)
3. To start Clonezilla, open a terminal and type: sudo clonezilla
4. Choose: device-image . This will make a backup of your disk (device) and stores it as an image file, which you can save anywhere you want and then later restore at any time.
5. Choose: Use local device
6. Now choose the disk where you want to store the backup image of your system.
7. Choose the directory/folder on the disk where you want to save the image file. Note that this directory needs to be located in the root of the disk! Clonezilla will only allow you to save backup images in the top directory of a device. So if your disk doesn't have a top directory placed on it, then create one. You can name the folder 'MyBackups' for example.
8. Choose: Beginner mode
9. Choose: Save local disk as an image
10. Enter the name that you want to call your image file
11. Choose the disk that you want to backup. Use the spacebar to select it and use the tab-key to navigate to the OK-button.
12. Skip checking the file system. Choose the Skip checking/repairing file system.
13. Choose: Yes, check the saved image (to check if it's restorable)
14: Choose: Not to encrypt the image
Done, Clonezilla will now make a backup of your system and store it in an image file located on the disk that you selected.
To save time in the future, you can choose not to check if the image is restorable. This will save you half the time. However it's recommended that you only do this after you've backed up your system and restored it at least once, so that you are confident that Clonezilla is able to make restorable images of your computer.
Restore
To restore your system, do the following:
1. Boot into Manjaro's live CD (or usb-stick)
2. Download and install the Clonezilla package using your package manager (like pacman, Pamac or Octopi)
3. To start Clonezilla, open a terminal and type: sudo clonezilla
4. Choose: device-image .
5. Choose: Use local device
6. Now choose the disk where you've stored the backup image of your system.
7. Choose the directory/folder on the disk where your backup image is stored.
8. Choose: Expert mode
9. Choose: Restore an image to local disk
10. Choose the image file of the backup image that you want to restore.
11. Select the target disk where you want the backup image to be restored to.
12. Uncheck Reinstall Grub using the spacebar and hit the tab-key to navigate to the OK-button. Then hit enter.
13. Your backup image will now be restored to your disk. However, once the restoration process is done, you will find that Manjaro will not boot. The reason is that Grub needs to be updated. Use this tutorial to learn how to do that: How to repair Manjaro/Grub after it has been restored from a Clonezilla backup image
That's it. Enjoy!
You will now be able to tinker with your system and install updates without worrying about breaking your system, because you'll always be able to restore it using an exact cloned backup copy!
Tip: Backup your system every time before installing Manjaro updates. This way, if an update breaks your system or causes issues, then you can simply restore your system from a stable backed up image and wait until the next update cycle to see if issues in those updates have been fixed.
nessa parte da erro:
5. Choose: Use local device
da esse erro:
Erro! Não existem partições ou não se encontram partições não montadas! Para usar Clonezilla para salvar ou clonar uma partição, a partição de origem deve existir ou estar desmontada! Se tiver certeza de que a partição existe nesta máquina, talvez o kernel é antigo demais?
Pressione "Enter" para sair...
acho que precisa tambem formatar em gpt como posso fazer isso?
no linux manjaro?