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

Arch Linux

7173 readers
2 users here now

The beloved lightweight distro

founded 4 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
[–] [email protected] 4 points 10 months ago (1 children)

DD or CloneZilla. Both from live sessions.

[–] [email protected] 2 points 10 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.

[–] [email protected] 2 points 10 months ago

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

[–] [email protected] 3 points 10 months ago

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

[–] [email protected] 2 points 10 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.

[–] [email protected] 2 points 10 months ago

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

[–] [email protected] 2 points 10 months ago (1 children)

back in time? it uses rsync

[–] [email protected] 0 points 10 months ago (1 children)

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

[–] [email protected] 2 points 10 months ago

they are folders and files... no?

[–] [email protected] 2 points 10 months ago (1 children)
[–] [email protected] 1 points 10 months ago (1 children)

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

[–] [email protected] 2 points 10 months ago (1 children)
[–] [email protected] 1 points 10 months ago (1 children)

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

[–] [email protected] 3 points 10 months ago (1 children)

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

[–] [email protected] 2 points 10 months ago (1 children)
[–] [email protected] 2 points 10 months ago

You welcome l'ami,