clonezilla - restoring

Kernels & Hardware, configuring network, installing services

clonezilla - restoring

Postby milomak » 2021-02-11 21:03

i apologise if i have chosen the wrong forum

i have a clonezilla iso. will burn to usb. boot it.

what should i note to actually be able to make a working restore point?
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: Lenovo ideapad Y700-15ISK - Sid, Win10, Solus
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
milomak
 
Posts: 2079
Joined: 2009-06-09 22:20

Re: clonezilla - restoring

Postby RU55EL » 2021-02-11 21:34

Clonezilla is good software, but this is the Debian forums. You should look at the Clonezilla website.

https://clonezilla.org/clonezilla-usage/clonezilla-live-usage.php
User avatar
RU55EL
 
Posts: 525
Joined: 2014-04-07 03:42
Location: /home/russel

Re: clonezilla - restoring

Postby sunrat » 2021-02-12 04:18

milomak wrote:what should i note to actually be able to make a working restore point?


It doesn't make restore points, it makes clone images of disks or partitions. There are numerous guides on the interwebz and the one RU55EL posted is good.
Personally I've been using fsarchiver instead lately. Easier to use, faster, but has more limitations such as minimal (or no?) ntfs support.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 3419
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: clonezilla - restoring

Postby LE_746F6D617A7A69 » 2021-02-13 20:50

For Me, dd + gzip does the job - maximum flexibility, it's even possible to backup a running system.
Bill Gates: "(...) In my case, I went to the garbage cans at the Computer Science Center and I fished out listings of their operating system."
The_full_story and Nothing_have_changed
LE_746F6D617A7A69
 
Posts: 457
Joined: 2020-05-03 14:16

Re: clonezilla - restoring

Postby Head_on_a_Stick » 2021-02-13 20:58

LE_746F6D617A7A69 wrote:dd + gzip does the job - maximum flexibility

Nah, rsync is better because you can use it to change filesystems and partitions: https://wiki.archlinux.org/index.php/Rs ... tem_backup ← that can also be used on a running system.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 13280
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: clonezilla - restoring

Postby LE_746F6D617A7A69 » 2021-02-13 21:07

Head_on_a_Stick wrote:
LE_746F6D617A7A69 wrote:dd + gzip does the job - maximum flexibility

Nah, rsync is better because you can use it to change filesystems and partitions: https://wiki.archlinux.org/index.php/Rs ... tem_backup ← that can also be used on a running system.
... excluding compression ;)
rsync --compress just compresses the data during transfer ....
Bill Gates: "(...) In my case, I went to the garbage cans at the Computer Science Center and I fished out listings of their operating system."
The_full_story and Nothing_have_changed
LE_746F6D617A7A69
 
Posts: 457
Joined: 2020-05-03 14:16

Re: clonezilla - restoring

Postby Bulkley » 2021-02-13 21:12

I use Clonezilla for monthly backups or when I plan on doing something risky. I have some spare drives (taken from old machines) and do local disk to local disk clones and I test them to make sure they work. There have been occasions when I have had to reverse the process and re-clone my daily driver. This is not my only backup but it is the most thorough. Most users would find this too cumbersome but I like it.
Bulkley
 
Posts: 6067
Joined: 2006-02-11 18:35

Re: clonezilla - restoring

Postby cds60601 » 2021-02-28 03:41

Head_on_a_Stick wrote:
LE_746F6D617A7A69 wrote:dd + gzip does the job - maximum flexibility

Nah, rsync is better because you can use it to change filesystems and partitions: https://wiki.archlinux.org/index.php/Rs ... tem_backup ← that can also be used on a running system.


I like this idea! But, can this create an archive file such as a tarball opposed to an identical system on another drive?
Server: Debian 10, Workstation: Debian Sid (dwm)
Laptop: Debian Sid (dwm)
----------------------------------------------------------------------------------
Don't Break Debian: https://wiki.debian.org/DontBreakDebian
User avatar
cds60601
 
Posts: 202
Joined: 2017-11-25 05:58
Location: Tampa, Florida

Re: clonezilla - restoring

Postby p.H » 2021-02-28 09:33

LE_746F6D617A7A69 wrote:For Me, dd + gzip does the job - maximum flexibility, it's even possible to backup a running system.

Using dd to make an image of a disk or partition in use may result in an inconsistent image.
How do you avoid it ? Or do you use dd another way ?
p.H
 
Posts: 1674
Joined: 2017-09-17 07:12

Re: clonezilla - restoring

Postby Head_on_a_Stick » 2021-02-28 09:50

cds60601 wrote:can this create an archive file such as a tarball opposed to an identical system on another drive?

Well you could tar up the system after using rsync but you would have to untar it before updating the backup, which is a faff. Why do you want an archive file?
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 13280
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: clonezilla - restoring

Postby p.H » 2021-02-28 10:03

Because it can be compressed, I guess.
p.H
 
Posts: 1674
Joined: 2017-09-17 07:12

Re: clonezilla - restoring

Postby cds60601 » 2021-02-28 12:46

Head_on_a_Stick wrote:
cds60601 wrote:can this create an archive file such as a tarball opposed to an identical system on another drive?

Well you could tar up the system after using rsync but you would have to untar it before updating the backup, which is a faff. Why do you want an archive file?


To be honest, to gain the same outcome as one might have after imaging the system with clonezilla as I do now. I simply have a directory on a drive that for now, holds my cloned images.
The way I understand for rsync, I would be required to have a dedicated drive just for a backup only. I suppose in my scenario, rsync wouldn't be a viable solution. I guess the idea of a backup f the system while being live captured me and started the whole, what if question.

Thus ti difference between a cloned images and a backup I guess..
Server: Debian 10, Workstation: Debian Sid (dwm)
Laptop: Debian Sid (dwm)
----------------------------------------------------------------------------------
Don't Break Debian: https://wiki.debian.org/DontBreakDebian
User avatar
cds60601
 
Posts: 202
Joined: 2017-11-25 05:58
Location: Tampa, Florida

Re: clonezilla - restoring

Postby Head_on_a_Stick » 2021-02-28 13:09

cds60601 wrote:The way I understand for rsync, I would be required to have a dedicated drive just for a backup only.

Not at all, you can rsync to a directory, in fact that's the only way to use it. If you want to rsync the backup to a different drive then you have to mount the drive under a directory and point rsync to that.

Another big advantage of rsync is that it only copies the differences between old and new so if you back up every week then rsync will be *much* quicker than CloneZilla, dd, tar or whatever (unless CloneZilla also offers incremental backups, I've never used it so I don't know how it works).
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 13280
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: clonezilla - restoring

Postby cds60601 » 2021-02-28 14:59

Head_on_a_Stick wrote:
cds60601 wrote:The way I understand for rsync, I would be required to have a dedicated drive just for a backup only.

Not at all, you can rsync to a directory, in fact that's the only way to use it. If you want to rsync the backup to a different drive then you have to mount the drive under a directory and point rsync to that.

Another big advantage of rsync is that it only copies the differences between old and new so if you back up every week then rsync will be *much* quicker than CloneZilla, dd, tar or whatever (unless CloneZilla also offers incremental backups, I've never used it so I don't know how it works).


HA! You are absolutely right! For S&G, I created a directory on my external drive, ran the command that is referenced in the wiki you posted. Didn't take long at all, faster than clonezilla for certain.
This could be my new replacement for how I'm dong nightly backups as it does the complete system opposed to what I'm doing now. Many times I when to a nightly tarball only to find that I intentionally did not include directories I should have for those once in a great while file changes that live outside of my normal locations.

This is perfect!
Server: Debian 10, Workstation: Debian Sid (dwm)
Laptop: Debian Sid (dwm)
----------------------------------------------------------------------------------
Don't Break Debian: https://wiki.debian.org/DontBreakDebian
User avatar
cds60601
 
Posts: 202
Joined: 2017-11-25 05:58
Location: Tampa, Florida

Re: clonezilla - restoring

Postby Head_on_a_Stick » 2021-02-28 15:26

cds60601 wrote:Didn't take long at all, faster than clonezilla for certain.

The first run of rsync will take a while because it has to copy the entire system but subsequent runs are much quicker because only the differences between old & new are copied.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 13280
Joined: 2014-06-01 17:46
Location: /dev/chair

Next

Return to System configuration

Who is online

Users browsing this forum: No registered users and 14 guests

fashionable