Scheduled backups
Concept
pika-backupd
-
Started via /etc/xdg/autostart/
-
Use Background portal for autostart if flatpak is detected -
Listens for connected drives known to pika -
Shows notification with actions -
Start Pika Backup if selected in notification
-
-
Start Pika Backup if backup is scheduled
pika-backup
-
Runs all the backups to keep backup status output and user queries (passwords ...) simple -
Use background portal to giving a reason for running in background -
Use notifications instead of dialogs first, if running in background -
UI to configure scheduled backups
Issues
-
How to start Pika Backup from the daemon? Can you make it dbus-activatable as a flatpak? (Seems to be possible https://github.com/flatpak/flatpak/issues/1902) -
Using the background portal for starting the daemon would probably nicer but I can't get it working
Additional Ideas
-
No remote backups on metered connections -
Ask user via notification to attach USB drive, if backup on removable drive is scheduled