Le mercredi 13 avril 2022 à 14:11 +0200, Stephan Kulow a écrit :
Am 13.04.22 um 14:08 schrieb Neal Gompa:
On Wed, Apr 13, 2022 at 7:58 AM Stephan Kulow <coolo@suse.de> wrote:
Am 13.04.22 um 13:54 schrieb Neal Gompa:
There are also some configuration files in /etc and /var which may be worth being able to reset, but for most desktop stuff, indeed it's mostly in $HOME. But we can apply this principle to home configuration too: we could use subvolumes for home directories and set up a snapshot regime and allow users to flow back and forth through them (like Time Machine). I feel like this should exist already - but let me ask anyway: under what condititions can you control subvolumes for home directories as user? I'm mostly interested in snapshotting dot directories - unless they are caches.
With a little elbow grease, I suppose we could do that too. The challenge is that you have to pre-determine which ones to create. We can kind of cheat and do that for .config, .mozilla, and a few others up front. If just applications would behave:
coolo@nerissa#~>find .config/ -type d | grep Cache | wc -l 1327
It's insane 11GB below
Indeed. Just look at what kind of ugly workaround is needed to avoid backing those: https://github.com/fcrozat/rclone-container/blob/master/backup-to-restic :( We would need upstream to really follow XDG convention for storing cache.. -- Frederic CROZAT Enterprise Linux OS and Containers Architect SUSE