feat(backups): add pCloud and extensible cloud-backup destinations
Problem
Omi users who do not use Google Drive need another automatic destination for conversation summaries, transcripts, and audio. A specific request is pCloud because it offers lifetime storage plans; Dropbox was also requested.
Current main contains a Dropbox integration that can save summaries, transcripts, and audio, but there is no pCloud integration or provider-neutral backup destination.
Proposed direction
Add pCloud as a supported backup destination and define a reusable backup-provider contract so future destinations do not require rebuilding the entire workflow.
Where feasible, also evaluate standards-based targets such as WebDAV or S3-compatible storage for self-hosted and privacy-focused users.
Users should be able to:
- connect and disconnect a provider securely;
- choose the destination folder;
- choose whether to back up summaries, transcripts, audio, or all three;
- see backup status and actionable failures;
- retry safely without creating duplicate files;
- revoke access and understand whether existing remote files are retained.
Security and privacy requirements
- least-privilege OAuth scopes or credentials;
- encrypted token storage and rotation;
- explicit consent before exporting audio or transcripts;
- no secrets or private content in logs;
- documented deletion, retention, and provider-failure behavior;
- account isolation for every upload and retry.
Acceptance criteria
- [ ] pCloud authentication and disconnect flows are implemented.
- [ ] New conversations can be exported automatically to a selected pCloud folder.
- [ ] Summary, transcript, and audio export can be configured independently.
- [ ] Retries are idempotent and expose a clear status.
- [ ] The provider interface is documented and covered by tests.
- [ ] Mobile and desktop clients show the same connected state.
- [ ] Privacy and account-isolation tests cover exports and token refresh.
This issue is linked to our feedback platform. For feedback and updates, please visit this link.