Create System snapshot for ext4

I'm looking for a tool to make snapshots of the system with an ext4 system disk.

10 points · 15 comments · view on lemmy.world

15 Comments

Strit@lemmy.linuxuserspace.show · 4 pts · 2y (2 replies)

DD or CloneZilla. Both from live sessions.

Certainity45@lemmy.ml · 2 pts · 2y (1 reply)

Isn't disk cloning quite different from snapshot? I'm asking for learning purposes. I've used Clonezilla for a decade now and it has developed into a superior beast. None of the commercial products can beat it.

Strit@lemmy.linuxuserspace.show · 2 pts · 2y

It is, but ext4 has no snapshot capability as far as I know.

charliequidam@lemmy.world · 3 pts · 2y
[ removed ]
Discover5164@lemm.ee · 2 pts · 2y (2 replies)

back in time? it uses rsync

bauve@jlai.lu · 0 pts · 2y (1 reply)

Tools like rsync save only folders or files, but I want to save all system with Kernel, Drivers, ...

Discover5164@lemm.ee · 2 pts · 2y

they are folders and files... no?

Vilian@lemmy.ca · 2 pts · 2y (6 replies)

LVM?

bauve@jlai.lu · 1 pts · 2y (5 replies)

Yes it's on LVM but the system disk is ext4

Eikichi@lemmy.ml · 2 pts · 2y (4 replies)
bauve@jlai.lu · 1 pts · 2y (3 replies)

but the file system is ext4, will it still work?

Eikichi@lemmy.ml · 3 pts · 2y (2 replies)

It doesnt depend of your filesystem. Its a builtin in LVM.
So normally yes.

bauve@jlai.lu · 2 pts · 2y (1 reply)

Thanks 👍

Eikichi@lemmy.ml · 2 pts · 2y

You welcome l'ami,

antsu@lemmy.wtf · 2 pts · 2y

Assuming this is an option for you, convert your ext4 partition to btrfs (can be done without data loss) and enjoy having proper snapshot support. Timeshift makes it really easy to automate and manage btrfs snapshots.

appleforker@reddthat.com · 2 pts · 2y

dd is the tool you can use. But for a system disk you probably want to run it from a LiveOS