-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken system after restore (when /boot
is on separate partition)
#365
Comments
From what I see there's a place for post restore hooks from I as for this scenario also post backup would be required. |
mwoz123
added a commit
to mwoz123/timeshift
that referenced
this issue
Jan 1, 2025
mwoz123
added a commit
to mwoz123/timeshift
that referenced
this issue
Jan 1, 2025
mwoz123
added a commit
to mwoz123/timeshift
that referenced
this issue
Jan 6, 2025
Co-authored-by: Yannis Gerlach <[email protected]>
mwoz123
added a commit
to mwoz123/timeshift
that referenced
this issue
Jan 6, 2025
Co-authored-by: Yannis Gerlach <[email protected]>
mwoz123
added a commit
to mwoz123/timeshift
that referenced
this issue
Jan 6, 2025
mwoz123
added a commit
to mwoz123/timeshift
that referenced
this issue
Jan 6, 2025
mwoz123
added a commit
to mwoz123/timeshift
that referenced
this issue
Jan 6, 2025
mwoz123
added a commit
to mwoz123/timeshift
that referenced
this issue
Jan 6, 2025
mwoz123
added a commit
to mwoz123/timeshift
that referenced
this issue
Jan 6, 2025
(In case someone find this usefull)
#!/bin/bash
echo $TS_SNAPSHOT_PATH
rsync -avr --progress /boot "${TS_SNAPSHOT_PATH}"/@/ --exclude efi
#!/bin/bash
echo $TS_SNAPSHOT_PATH
rm -Rf /boot~
rsync -avr --progress /boot /boot~ --remove-source-files --exclude efi
BOOT_SOURCE_BACKUP="${TS_SNAPSHOT_PATH}/@/boot"
rsync -avr --progress $BOOT_SOURCE_BACKUP / --exclude efi requires (not merged yet) changes from: #381 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
/boot
partition & root btrfsExpected 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:
The text was updated successfully, but these errors were encountered: