為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Can I restore a deleted lightning calendar?

  • 4 回覆
  • 1 有這個問題
  • 19 次檢視
  • 最近回覆由 GaryMfield

more options

I am running Thunderbird 52.7.0 and Lightning 5.4.7. I had a problem where duplicate "Home" calendars got created with one showing temporarily unavailable (yellow triangle). I deleted the wrong copy and now my calendar and tasks are empty. Is there any way to retrieve that information without going to last night's backup? And exactly where is the calendar and task data located? Thank you.

I am running Thunderbird 52.7.0 and Lightning 5.4.7. I had a problem where duplicate "Home" calendars got created with one showing temporarily unavailable (yellow triangle). I deleted the wrong copy and now my calendar and tasks are empty. Is there any way to retrieve that information without going to last night's backup? And exactly where is the calendar and task data located? Thank you.

被選擇的解決方法

are there other files involved?

There are. The files above are just the calendar data. But you'd need to have the correct calendar definitions as well. This is part of prefs.js in your profile folder. I strongly advice not to mess with prefs.js manually, unless you know exactly what you're doing. So your best bet is to re-create the calendar exactly the way it was before the incident, even if it's empty at that point.

In the calendar-data folder I see two files. deleted.sqlite which is from the day before the calendar was deleted and local.sqlite which is quite a bit larger. Could that file simply be replaced from the prior nights backup

Once you have the calendar definition right, you can try to replace the files from the backup. I'd probably replace both files from the backup. Whether this works, I don't know. You'll have to give it a try. Make sure Thunderbird is closed when doing this.

Also create a full backup of your Thunderbird profile before you start messing with it. https://support.mozilla.org/kb/profiles-where-thunderbird-stores-user-data#w_backing-up-a-profile

從原來的回覆中察看解決方案 👍 0

所有回覆 (4)

more options

The easiest would be to restore a backup of the individual calendar. That would have to be created before the incident by exporting the calendar and save it in .ics format.

Beyond that, you can restore the backup of the entire profile.

The calendar data itself is in the profile underneath 'calendar-data'.

more options

Thank you for the response. I don't have a .ics backup of the calendar. In my case, this was a single calendar so no chance of messing up any other calendar. I do have a backup of the network drive that contains the calendar data. Can I simply restore the calendar from that backup? In the calendar-data folder I see two files. deleted.sqlite which is from the day before the calendar was deleted and local.sqlite which is quite a bit larger. Could that file simply be replaced from the prior nights backup or are there other files involved?

more options

選擇的解決方法

are there other files involved?

There are. The files above are just the calendar data. But you'd need to have the correct calendar definitions as well. This is part of prefs.js in your profile folder. I strongly advice not to mess with prefs.js manually, unless you know exactly what you're doing. So your best bet is to re-create the calendar exactly the way it was before the incident, even if it's empty at that point.

In the calendar-data folder I see two files. deleted.sqlite which is from the day before the calendar was deleted and local.sqlite which is quite a bit larger. Could that file simply be replaced from the prior nights backup

Once you have the calendar definition right, you can try to replace the files from the backup. I'd probably replace both files from the backup. Whether this works, I don't know. You'll have to give it a try. Make sure Thunderbird is closed when doing this.

Also create a full backup of your Thunderbird profile before you start messing with it. https://support.mozilla.org/kb/profiles-where-thunderbird-stores-user-data#w_backing-up-a-profile

more options

Replacing just the two calendar files did not work but I was able to replace the entire profile from the night before and that did work. Thanks for all your help!