What's the best tool for backing up / restoring partitions to / from image files?

Clonezilla is doing so nicely for now that I’m not going to try looking into others for now. But if some tools can backup the root partition from the OS running on it (with 100% safety the image is not corrupt) that would be a nice achievement. But like others have said, while files might be changed on that partition it’s not a safe bet.

But like others have said, while files might be changed on that partition it’s not a safe bet.
Well as I said, that is exactly what snapshots are for. You would create an LVM or Btrfs (or ZFS) snapshot and back that up. Of course that requires that your system is already setup using such a file system (which is impossible for the /boot partition as far as I know). I just wanted to point out, that the tools are already available…

On 2012-09-28 19:36, Nikos78 wrote:
>
>> But like others have said, while files might be changed on that
>> partition it’s not a safe bet. Well as I said, that is exactly what snapshots are for. You would
> create an LVM or Btrfs (or ZFS) snapshot and back that up. Of course
> that requires that your system is already setup using such a file system
> (which is impossible for the /boot partition as far as I know). I just
> wanted to point out, that the tools are already available…

Btrfs I understand, because it is an incremental filesystem. But LVM snapshots? How can that
cope with files being modified while the photo is taken?


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

Am 29.09.2012 15:33, schrieb Carlos E. R.:
> Btrfs I understand, because it is an incremental filesystem. But LVM snapshots? How can that
> cope with files being modified while the photo is taken?
>
LVM uses copy-on-write for that, I have no good English article at hand,
just a German one, but there are some useful infos here also
http://www.tldp.org/HOWTO/LVM-HOWTO/


PC: oS 12.2 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.8.4 | GeForce GT 420
ThinkPad E320: oS 12.2 x86_64 | i3@2.30GHz | 8GB | KDE 4.9.1 | HD 3000
eCAFE 800: oS 12.2 i586 | AMD Geode LX 800@500MHz | 512MB | KDE 3.5.10

On 2012-09-29 15:49, Martin Helm wrote:
> Am 29.09.2012 15:33, schrieb Carlos E. R.:
>> Btrfs I understand, because it is an incremental filesystem. But LVM snapshots? How can that
>> cope with files being modified while the photo is taken?
>>
> LVM uses copy-on-write for that, I have no good English article at hand,
> just a German one, but there are some useful infos here also
> http://www.tldp.org/HOWTO/LVM-HOWTO/

Ok, it appears that modifications are written somewhere else (a snapshot volume), and then you
do the backup of the files, that will not change for some time. When the backup is made, the
snapshot volume is removed (which applies the changes that where sent away). It is a file
backup, not an image.


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

Am 29.09.2012 16:18, schrieb Carlos E. R.:
> It is a file backup, not an image.
Of course, similar to btrfs which also uses COW (but built into the file
system).


PC: oS 12.2 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.8.4 | GeForce GT 420
ThinkPad E320: oS 12.2 x86_64 | i3@2.30GHz | 8GB | KDE 4.9.1 | HD 3000
eCAFE 800: oS 12.2 i586 | AMD Geode LX 800@500MHz | 512MB | KDE 3.5.10