搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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!