seedvault icon indicating copy to clipboard operation
seedvault copied to clipboard

Calendar and clock backup

Open dot166 opened this issue 1 year ago • 3 comments

It would be amazing if seedvault was able to back up calanders and alarms from Lineageos deskclock (com.android.deskclock) and star (org.lineageos.star)

dot166 avatar Nov 12 '23 18:11 dot166

In Android, Seedvault is not responsible for extracting data from apps for backup. Apps are responsible for this and signal backup support to the OS. Then Seedvault can pick up this data.

grote avatar Nov 13 '23 14:11 grote

As I understand, calendar data is a system database accessible by calendar provider, which is a system component. There are 2 kinds of apps accessing calendar data. There are calendar apps, which can display and set calendar events and sync agents, which perform synchronization with external account. No application expose calendar data for backup. Actually sync agents preform this role. So instead of local backup you can use Google, Nextcloud, Etesync or other agents to preserve your calendar data.

The only exception is local calendar - a special type of calendar data, which does not have a sync agent. For example system calendar of Lineage OS can create local calendar data, which unfortunately isn't supported by SeedVault, which works as a system backup for Lineage OS.

As a workaround for calendar backup I use DecSync, which works as a sync agent with local directory as a destination. Then I include this local directory to SeedVault backup.

andrzej-gmt avatar Dec 28 '23 12:12 andrzej-gmt

Related to #535

grote avatar Jan 02 '24 18:01 grote