this post was submitted on 20 Nov 2023
11 points (100.0% liked)

Arch Linux

7744 readers
4 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS
11
submitted 11 months ago* (last edited 11 months ago) by bauve@jlai.lu to c/archlinux@lemmy.ml
 

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

top 16 comments
sorted by: hot top controversial new old
[–] Strit@lemmy.linuxuserspace.show 4 points 11 months ago (1 children)

DD or CloneZilla. Both from live sessions.

[–] Certainity45@lemmy.ml 2 points 11 months ago (1 children)

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 points 11 months ago

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

[–] charliequidam@lemmy.world 3 points 11 months ago

It's worth the time to change to BTRFS. grub-btrfs is a life saver.

[–] Vilian@lemmy.ca 2 points 11 months ago (1 children)
[–] bauve@jlai.lu 1 points 11 months ago (1 children)

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

[–] Eikichi@lemmy.ml 2 points 11 months ago (1 children)
[–] bauve@jlai.lu 1 points 11 months ago (1 children)

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

[–] Eikichi@lemmy.ml 3 points 11 months ago (1 children)

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

[–] bauve@jlai.lu 2 points 11 months ago (1 children)
[–] Eikichi@lemmy.ml 2 points 11 months ago

You welcome l'ami,

[–] appleforker@reddthat.com 2 points 11 months ago

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

[–] antsu@lemmy.wtf 2 points 11 months ago

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.

[–] Discover5164@lemm.ee 2 points 11 months ago (1 children)

back in time? it uses rsync

[–] bauve@jlai.lu 0 points 11 months ago (1 children)

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

[–] Discover5164@lemm.ee 2 points 11 months ago

they are folders and files... no?