Commit Graph

8 Commits

Author SHA1 Message Date
Girish Ramakrishnan
08f7685ca3 backupSite: enableForUpdates in add 2025-09-23 10:21:43 +02:00
Johannes Zellner
49de124fc0 Fix typo 2025-09-22 20:24:29 +02:00
Girish Ramakrishnan
cc939de641 Fixup tests 2025-09-22 20:17:34 +02:00
Girish Ramakrishnan
5157789774 backups: add per site enabledForUpdates flag
previously, we had a singleton 'main' flag to indicate a site can
be used for updates. with this new approach, we can get rid of the
'primary' concept. each site can be used for updates or not.
2025-09-22 18:03:01 +02:00
Girish Ramakrishnan
305441ea28 backups: remove noop backend
the noop backend is migrated into 0 sites config.

when the updater code sees that there is no site to backup, it will
just fail. user has to manually update with skipBackup flag.
2025-09-22 16:44:12 +02:00
Girish Ramakrishnan
4c3a8e1fd7 backup site: add contents
it is a json that can be one of the three:

* null - include everything
* include - only include these ids
* exclude - everything except these ids
2025-09-22 13:28:16 +02:00
Johannes Zellner
7df7fd635b Allow any format for noop backup site 2025-09-21 18:06:32 +02:00
Girish Ramakrishnan
c5b7264f1a rename backupTargets to backupSites 2025-09-12 10:32:37 +02:00