-
Notifications
You must be signed in to change notification settings - Fork 143
Broken system after restore (when /boot is on separate partition) #365
Description
Describe the bug
I've (luks encrypted) btrfs / + separate /boot (ext4 & efi).
Due to that /boot dir is not inclueded in backups, this means restoring backup will cause also /boot to be skipped.
Let's say I was on Mint 22 (Ubuntu 24) and tried to restore Mint 21 (Ubuntu 22), the system won't be usable due to mismatch in modules on restored system and in linux image (which was unchanged).
To Reproduce
Steps to reproduce the behavior:
- On linux that consist of separate
/bootpartition & root btrfs - create a btrfs backup
- upgrade linux image, purge previous one
- restore timeshift btrfs backup
Expected behavior
/boot folder to be included/copied to btrfs backup (or other place so it could be restored.
After restore root, timeshift should also restore /boot backup.
Maybe a good idea would be to allow creating "custom script"/hooks to be executed after each backup and another one after each restore (that would allow to copy over the /boot dir) - and might be also usefull for different scenarios.
Screenshots
N/A
System:
- Linux Distribution Name and Version: Mint 22 (Ubuntu 24)
- Desktop - issue it's not about UI - no influence
- Application Version 24.06.3