Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

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!