Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
clonezilla - restoring
clonezilla - restoring
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?
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: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
Re: clonezilla - restoring
Clonezilla is good software, but this is the Debian forums. You should look at the Clonezilla website.
https://clonezilla.org/clonezilla-usage ... -usage.php
https://clonezilla.org/clonezilla-usage ... -usage.php
- sunrat
- Administrator
- Posts: 6495
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 118 times
- Been thanked: 476 times
Re: clonezilla - restoring
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.milomak wrote:what should i note to actually be able to make a working restore point?
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!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
-
- Posts: 932
- Joined: 2020-05-03 14:16
- Has thanked: 7 times
- Been thanked: 68 times
Re: clonezilla - restoring
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
The_full_story and Nothing_have_changed
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: clonezilla - restoring
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.LE_746F6D617A7A69 wrote:dd + gzip does the job - maximum flexibility
deadbang
-
- Posts: 932
- Joined: 2020-05-03 14:16
- Has thanked: 7 times
- Been thanked: 68 times
Re: clonezilla - restoring
... excluding compressionHead_on_a_Stick wrote: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.LE_746F6D617A7A69 wrote:dd + gzip does the job - maximum flexibility
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
The_full_story and Nothing_have_changed
Re: clonezilla - restoring
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.
- cds60601
- df -h | participant
- Posts: 739
- Joined: 2017-11-25 05:58
- Location: Florida
- Has thanked: 136 times
- Been thanked: 65 times
Re: clonezilla - restoring
I like this idea! But, can this create an archive file such as a tarball opposed to an identical system on another drive?Head_on_a_Stick wrote: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.LE_746F6D617A7A69 wrote:dd + gzip does the job - maximum flexibility
Supercalifragilisticexpialidocious
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: clonezilla - restoring
Using dd to make an image of a disk or partition in use may result in an inconsistent image.LE_746F6D617A7A69 wrote:For Me, dd + gzip does the job - maximum flexibility, it's even possible to backup a running system.
How do you avoid it ? Or do you use dd another way ?
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: clonezilla - restoring
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?cds60601 wrote:can this create an archive file such as a tarball opposed to an identical system on another drive?
deadbang
- cds60601
- df -h | participant
- Posts: 739
- Joined: 2017-11-25 05:58
- Location: Florida
- Has thanked: 136 times
- Been thanked: 65 times
Re: clonezilla - restoring
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.Head_on_a_Stick wrote: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?cds60601 wrote:can this create an archive file such as a tarball opposed to an identical system on another drive?
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..
Supercalifragilisticexpialidocious
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: clonezilla - restoring
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.cds60601 wrote:The way I understand for rsync, I would be required to have a dedicated drive just for a backup only.
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).
deadbang
- cds60601
- df -h | participant
- Posts: 739
- Joined: 2017-11-25 05:58
- Location: Florida
- Has thanked: 136 times
- Been thanked: 65 times
Re: clonezilla - restoring
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.Head_on_a_Stick wrote: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.cds60601 wrote:The way I understand for rsync, I would be required to have a dedicated drive just for a backup only.
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).
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!
Supercalifragilisticexpialidocious
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: clonezilla - restoring
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.cds60601 wrote:Didn't take long at all, faster than clonezilla for certain.
deadbang
Re: clonezilla - restoring
It is possible to easily create snapshots with rsync. There is some good material for ideas about it here
http://www.mikerubel.org/computers/rsync_snapshots/
http://www.mikerubel.org/computers/rsync_snapshots/
-
- Posts: 932
- Joined: 2020-05-03 14:16
- Has thanked: 7 times
- Been thanked: 68 times
Re: clonezilla - restoring
I've mislooked Your post, anyway: what do You mean by "(...) may result in an inconsistent image"?p.H wrote:Using dd to make an image of a disk or partition in use may result in an inconsistent image.LE_746F6D617A7A69 wrote:For Me, dd + gzip does the job - maximum flexibility, it's even possible to backup a running system.
How do you avoid it ? Or do you use dd another way ?
Do You mean that taking a snapshot of a running system requires to f.e. remount the root File System as read-only? Or to stop all the services / programs?
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
The_full_story and Nothing_have_changed
-
- Posts: 1939
- Joined: 2006-04-21 11:19
- Location: Sol Sector
- Has thanked: 1 time
- Been thanked: 2 times
Re: clonezilla - restoring
There is no longer any need for that. The functionality he describes is provided by rsnapshot:mm3100 wrote:It is possible to easily create snapshots with rsync. There is some good material for ideas about it here
http://www.mikerubel.org/computers/rsync_snapshots/
https://packages.debian.org/stable/rsnapshot
Phil
Freespoke is a new search engine that respects user privacy and does not engage in censorship.
-
- Posts: 1939
- Joined: 2006-04-21 11:19
- Location: Sol Sector
- Has thanked: 1 time
- Been thanked: 2 times
Re: clonezilla - restoring
Consider also the value of using Btrfs along with snapper. If I were using Debian Sid (or testing), I would definitely be using that combination.
Phil
Phil
Freespoke is a new search engine that respects user privacy and does not engage in censorship.
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: clonezilla - restoring
I'll take an example. While dd is running and has copied the first half of the device, the system writes new data in the first half (already copied by dd) and in the second half (not yet copied by dd). The resulting image will contain the old data in the first half and the new data in the second half, making it inconsistent. This is like screen tearing when the framebuffer reads and writes are not synchronized.LE_746F6D617A7A69 wrote:what do You mean by "(...) may result in an inconsistent image"?
Stopping all services is not enough to prevent any write, and obviously you cannot stop all programs as some programs are needed to take the image. E.g. the bash shell writes each command in the history log. Remounting all filesystems (not only /) on the source device read-only prevent many services and programs from running properly, so I can hardly call this a "running system".LE_746F6D617A7A69 wrote:Do You mean that taking a snapshot of a running system requires to f.e. remount the root File System as read-only? Or to stop all the services / programs?