Open lawmanuk opened 10 months ago
Hello!
I never used Timeshift, so I never tried if my subvolume setup worked or not with it.
Another reason why it doesn't work with it is that /var/log
and /var/xbps/cache
are created as nested subvolumes and maybe that's causing issues with Timeshift
Additionally, the fstab doesn't refer to these
That' mostly correct.
Only the /var/log
subvolume is mounted in the fstab to avoid application complaining (like X.org) that log folder is not writable when bootong a read-only snapshot.
For /var/xbps/cache
instead I just created a subvolume to be able to set a different snapshot policy for it, since that folder could become quite large 😁
I was planning to make /var/log
and /var/xbps/cache
as normal subvolumes and not nested ones.
But anyway I will take a look also at the suggested layout of Timeshift and see what I can do to fix the issue!
But again, no ETA, expecially during Christmas holidays 😄
I usually use Timeshift for snapshots on btrfs as gui is easier than snapper.
Also I want to add that if the problem is having a GUI, there are third party GUI solution, like snapper-gui (that I personally use) and Btrfs Assistant!
Hi,
The nested subvolumes def creates issues in a few ways I found.
Neither work with nested subvolumes. If you get some time, please consider fixing.
thanks for the great installer.
Hi,
I usually use Timeshift for snapshots on btrfs as gui is easier than snapper.
I've found that TimeShift can make snapshots after installing with this script, but it fails to restore snapshots at boot - only when using this script. Other void users don't seem to have this issue (reddit voidlinux admin suggested I stop using this script to overcome the TimeShift snapshot restore problem - but this script is too good! :) ).
I suspect the problem might be with the subvolume structure used? Could you please consider if this is causing a bug.
Although the vli.sh file seems to want to create subvolumes @log and @cache, I find that these aren't actually created. Additionally, the fstab doesn't refer to these and instead maps @/var/log instead of @log to /var/log. Could these be causing the issue?
I've given examples of the the differences with void subvolume setup shown in fstab (where timeshift doesn't work), compared to void setup shown in fstab (where timeshift does work).
void fstab and subvolume setup
manjaro fstab and subvolume setup