Skip to content

Broken system after restore (when /boot is on separate partition) #365

@mwoz123

Description

@mwoz123

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:

  1. On linux that consist of separate /boot partition & root btrfs
  2. create a btrfs backup
  3. upgrade linux image, purge previous one
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions