this post was submitted on 17 Sep 2023
17 points (94.7% liked)

Arch Linux

7750 readers
1 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 11 points 1 year ago* (last edited 1 year ago) (1 children)

Assuming you're using btrfs, just use snapshots. You can also make use of Snapper to automate the whole thing, including setting up hooks for pacman so that it automatically takes a snapshot before an update.

And for portability/reproducibility of your OS config, just backup your dotfiles:

rsync -avh --exclude={'.local/share/Trash','.Trash-1000','.cache','/[^.]*'} ~/ /mnt/backupfolder/ --delete

and package list.

And for your personal documents, just use your favorite own/cloud service provider's tool.