nextbox icon indicating copy to clipboard operation
nextbox copied to clipboard

Scheduled backups onto a predefined device's and/or directory

Open daringer opened this issue 4 years ago • 5 comments

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

daringer avatar Jul 10 '21 23:07 daringer

dropped in favor of future NC23 based Backup app - see #17

daringer avatar Jan 17 '22 23:01 daringer

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).

MateuszKubuszok avatar Jun 15 '25 10:06 MateuszKubuszok

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" ...

daringer avatar Jun 30 '25 09:06 daringer

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.

MateuszKubuszok avatar Jul 24 '25 18:07 MateuszKubuszok

@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?

MateuszKubuszok avatar Sep 26 '25 09:09 MateuszKubuszok