linuxmint / timeshift

System restore tool for Linux. Creates filesystem snapshots using rsync+hardlinks, or BTRFS snapshots. Supports scheduled snapshots, multiple backup levels, and exclude filters. Snapshots can be restored while system is running or from Live CD/USB.
1.53k stars 75 forks source link

[Question] How to offline restore master snapshot of btrfs system? #315

Closed m1karii closed 1 day ago

m1karii commented 3 days ago

I use EndeavourOS with btrfs backups and my PC crashed mid full upgrade resulting in it not being bootable. I was able to select snapshot I manually created prior in grub and boot into it. I tried restoring it and here comes the problem: timeshift seems to restore selected snapshot over currently running one not over the master one resulting in it doing practically nothing (overwriting itself) and now I have to select to boot to this specific snapshot in grub every time i turn on PC. How do I restore selected snapshot over the master one? or overwrite the master one with the current one?

teejee2008 commented 2 days ago

Boot from a live USB system and restore it.

m1karii commented 2 days ago

can you please elaborate on that @teejee2008 ? I ve tried chrooting into the system however the timeshift on the master snapshot wont even start due to the following error:

timeshift: symbol lookup error: /usr/lib/libvte-2.91.so.0: undefined symbol: ucnv_toUnicode_74

the README mentions "offline restore" however I seem to be unable to find more details about it

teejee2008 commented 1 day ago

Write the Linux Mint ISO to a USB drive and boot from it. Run Timeshift from the live system. Select the system drive and the snapshot to restore and restore it.

m1karii commented 1 day ago

worked. thanks. In case there happens to be someone with the same issue decade from now: you do NOT want to restore /home subvolume.