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

Arch Linux

8815 readers
1 users here now

The beloved lightweight distro

founded 5 years ago
MODERATORS
 

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 2 years ago (1 children)

DD or CloneZilla. Both from live sessions.

[–] Certainity45@lemmy.ml 2 points 2 years 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 2 years ago

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

[–] charliequidam@lemmy.world 3 points 2 years ago

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

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

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

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

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

[–] Eikichi@lemmy.ml 3 points 2 years ago (1 children)

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

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

You welcome l'ami,

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

back in time? it uses rsync

[–] bauve@jlai.lu 0 points 2 years 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 2 years ago

they are folders and files... no?

[–] antsu@lemmy.wtf 2 points 2 years 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.

[–] appleforker@reddthat.com 2 points 2 years ago

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