为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

I think I’ve deleted some events in my calendar, how can I retrieve them from my regular backups?

  • 3 个回答
  • 1 人有此问题
  • 35 次查看
  • 最后回复者为 Zenos

more options

When I backup, I use Events & Tasks>Export, which saves the calendars as .ics files. I tried to Import, but that just seemed to me as if it merged two calendar events together - the current and the imported one? Then I thought I’d delete the current calendar and import an earlier backup. Trying to find the location of the calendar files is not easy. Calendar tells me there are located at “moz-storage-calendar://”, but I can’t work out where it might be. Searching hasn’t turned anything up. Or perhaps the curent calendar data is not saved as .ics? Should I perhaps delete the calendar via the menu, then import a backup, find the data I want, delete that earlier imported backup then import the current backup? Or is there some other way to manage this job?

When I backup, I use Events & Tasks>Export, which saves the calendars as .ics files. I tried to Import, but that just seemed to me as if it merged two calendar events together - the current and the imported one? Then I thought I’d delete the current calendar and import an earlier backup. Trying to find the location of the calendar files is not easy. Calendar tells me there are located at “moz-storage-calendar://”, but I can’t work out where it might be. Searching hasn’t turned anything up. Or perhaps the curent calendar data is not saved as .ics? Should I perhaps delete the calendar via the menu, then import a backup, find the data I want, delete that earlier imported backup then import the current backup? Or is there some other way to manage this job?

被采纳的解决方案

I think all this points to the export and import process being ill-suited to a backup process. Since there is no scripting or automation in Thunderbird, you must be having to do a tiresome number of manual steps to export your calendars.

No, Thunderbird doesn't use .ics files internally, just as it doesn't use .eml for email nor .csv for address books, though these are all useful export/import formats. Your internal calendar data is stored in your profile in sqlite files inside calendar-data, e.g. "C:\Users\xxx\AppData\Roaming\Thunderbird\Profiles\xxx_profile\calendar-data".

I keep a lot of my data backed up by storing elsewhere, either in a google account or on dropbox. These are automatic procedures that I don't need to think about or have to remember to do, and part of choosing this approach is making some calendars available to my computer at work, my computer at home and to my phone and tablet.

An alternative approach might be to back up your entire profile.

定位到答案原位置 👍 1

所有回复 (3)

more options

选择的解决方案

I think all this points to the export and import process being ill-suited to a backup process. Since there is no scripting or automation in Thunderbird, you must be having to do a tiresome number of manual steps to export your calendars.

No, Thunderbird doesn't use .ics files internally, just as it doesn't use .eml for email nor .csv for address books, though these are all useful export/import formats. Your internal calendar data is stored in your profile in sqlite files inside calendar-data, e.g. "C:\Users\xxx\AppData\Roaming\Thunderbird\Profiles\xxx_profile\calendar-data".

I keep a lot of my data backed up by storing elsewhere, either in a google account or on dropbox. These are automatic procedures that I don't need to think about or have to remember to do, and part of choosing this approach is making some calendars available to my computer at work, my computer at home and to my phone and tablet.

An alternative approach might be to back up your entire profile.

more options

Thank you for your comprehensive answer, and explaining clearly where the calendar files are stored.

What I have done now is to store the .ics files within my Thunderbird profile on my D drive. My entire profile is over 8Gb, so for me I think it’s better to still export to .ics format monthly, in case I need to refer back to them.

I notice that when opening calendar files (restoring) via File>Open>Calendar File, the individual calendar colors I used are lost, and all revert to a default light blue. What I’ve done is to save a text file with all the RGB colors I’ve used, then at least I can restore them easily if necessary.

Thanks once again for taking the trouble to reply.

more options

I have never tried it, but you could try selectively backing up just those sqlite files. Or the whole calendar-data folder.

The important thing with any backup system is to be sure you can restore from the backed-up data. It's easy to copy files; it may not be so easy to put the data back into place.

My concern is that I don't know if the sqlite files tell the whole story; if they rely on some other magic file that glues it all together, they won't be of much use without that file. The colours, for instance, may be handled separately.