-
Notifications
You must be signed in to change notification settings - Fork 281
Json files describing the snapshots messed up #313
Comments
For completeness: Yes, the snapshots don't care about which json exactly is located in the folder. Just drop any json inside of the snapshot you need and you will be able to reuse it. |
Same problem. Timeshift sometimes breaks |
I have just encountered the same issue (No snapshots are shown in UI, and cli tool reports a similar error):
Is there any workaround for this? Should I just drop all of those snapshots manually? If so, how should I do it? If not, how can I recover them? |
It should be possible to create new snapshot. Then you can use the info.json from there. If not: here is one of mine. For me it worked just replacing the damaged json with a working one.
|
@g0r3 thanks! I've created a snapshot from UI, copied and edited the |
Me, I also have this issue using timeshift with btrfs snapshots. --edit-- |
I just experienced a similar issue, apparently json files got corrupted. This was probably after a system crash that happend just before this issue, there is one empty log file with a timestamp that is close to the time of the crash. I found no snapshots in the GUI, the log file of the boot snapshot contains 11 consecutive lines: Anyway, is there a way to keep timeshift from automatically (against the schedule!) removing all previous snapshots? Using timeshift 19.08.1-3 on Manjaro 18.1.4 |
I experienced the same problem on Linux Mint 20 with Timeshift v20.03. The file |
I also just experienced this bug. Not sure what lead up to it. I restored from a snapshot, rebooted, then deleted some other snapshots. One of them gave me an error that it didn't successfully delete. Using timeshift-autsnap, my system started to try deleting snapshots with corrupted info.json's but experienced read-only filesystem errors. |
In my case, the Timeshift GUI (Linux Mint) failed to properly restore some files from a snapshot created using rsync mode. By researching the first error I came across with, I was able to find one of the missing files. Then I inspected the snapshot and the file IS there, intact. I know this because I compared it with the source code for that program and it matched perfectly. I'm going to boot from another OS and try to rsync everything back together. Wish me luck. |
This happened to me (or at least I only noticed it) today. Timeshift also at some point automatically deleted my snapshots with the borked info.json files even though I could boot from them with GRUB and kept me from rolling back to a known good state after an update gave me black screens on login. So now I might have to do a fresh install if I can't find a different solution. Please at the very least make Timeshift show a warning by default instead of deleting the snapshots. |
Happened to me today and unfortunately lost all my snapshots. Do we know what the root cause of this is? So the process to recover is:
|
Maybe it is important to point out that even though the info.json file is corrupted, your snapshots and data are totally fine and okay! If you need to quickly restore something you can follow my restore steps for btrfs snapshots here. |
I am using Arch Linux together with BTRFS. For managing the snapshots I use timeshift. Today, after going back to earlier snapshots twice. But after the second time I noticed, that none of the snapshots was visible anymore. Starting timeshift via cli showed me following error messages:
The last one was a snapshot immediately created after logging back in after reverting to an earlier snapshot.
On further investigation I found out, that all the json files in /mnt/timeshift/backup/timeshift-btrfs/snapshots/ don't contain any data:
![image](https://user-images.githubusercontent.com/3685646/45890350-139b0900-bdc3-11e8-99b0-bab989edbde1.png)
Is this a known issue? Can I use the old, still present snapshots with "fake" metadata json files in order to use them?
The text was updated successfully, but these errors were encountered: