From Newsgroup: comp.mobile.android
How do you back up your Android calendar to Windows with complete privacy?
No Internet. No Cloud. No Account. No Payware. No Root.
It turned out to be easy.
Android stores all calendar events in a system-wide database called the Calendar Provider such that there is one canonical calendar on the phone.
[/data/data/com.android.providers.calendar/databases/calendar.db]
Like any other calendar, privacy-aware free apps like Etar & iCal
Import/Export access our Android calendar through a Calendar Provider API.
I use Etar calendar on Android for the obvious privacy reasons but I can't
find an import/export button to and from ics, which surprised me just now.
*Etar OpenSource Calendar*
<
https://github.com/Etar-Group/Etar-Calendar>
<
https://play.google.com/store/apps/details?id=ws.xsoh.etar>
<
https://f-droid.org/packages/ws.xsoh.etar/>
Luckily, there is a well-known FOSS "Calendar Import-Export" program.
*Calendar Import-Export*
Import, Export & Backup your calendars using ics files
<
https://f-droid.org/en/packages/org.sufficientlysecure.ical/>
<
https://f-droid.org/repo/org.sufficientlysecure.ical_64.apk>
Name: 20260206_f-droid_org.sufficientlysecure.ical_64.apk
Size: 1669496 bytes (1630 KiB)
SHA256: 5E0B5F7E76DA712E7AECF4FDD7E7D3F98F8B7AA97558DB74248A30B356944434
It found the Android calendar.db and the export button says it exported it.
But where did it go? Ah. Nothing fancy.
I just copied this over to Windows.
/storage/20260206calendar.ics
Obviously when it comes time to repopulate the new phone, we hit the Import button & that should be how to migrate a calendar from a phone to another.
--
Privacy is knowing how to do the simplest of things, all day, every day.
--- Synchronet 3.21b-Linux NewsLink 1.2