Scheduled backups onto a predefined device's and/or directory
To be actually useful we need Nitrokey/nextbox-daemon#22 first, still all of the following are independent:
- [ ] allow saving a "scheduled backup location" (only existing for now)
- [ ] once a "scheduled backup location" is set, allow setting backup interval (drop-down? free?)
- [ ] add and realize:
jobs.ScheduledBackupJob
dropped in favor of future NC23 based Backup app - see #17
Would you consider reopening this ticket or #17? Nextcloud's backup app seems to be abandoned.
Apparently Nextcloud decided that they are promoting AIO setup where backup is based on Borg Backup and custom setups like Nextbox are not supported (e.g. via maintenance of apps that AIO replaced).
Of course we can re-open - but I have some doubts if this really makes sense to implement this. The issue you linked doesn't contain an official statement, did you read that somewhere else (that they promote AIO)? Anyways this entire story is super weird, I see this similarly as the one person in your linked issue: how does "your open cloud" match with "there is no backup app" ...
I don't see any official statement, but we can see that since the beginning of the year, here was only 1 PR merged that was not i18n bot - and that PR was hanging for 3 months. App is not working in newer versions, official docs only describe the manual steps... Me and other users have to act with the assumption that it is abandoned.
But I have NextBox and NextBox backup works. If I could trigger it via occ action, then I could write some cronjob myself to trigger it, wait until it's done, and then copy the files to some remote location. If it was automated for me - even better. But for now I have no way of triggering the backup with occ command, which block everything else.
@daringer from what I see Nextbox app works as a Python server to which Nextcloud forwards all requests(?), and it handles the state of the backup. Do you think it would be possible somehow to interact with the API from within Nextbox? I am completely unfamiliar with NC architecture but it should be possible to somehow trigger the backup automatically, e.g. by running some curl call from the cron?