How to disable backups during auto-updates?
-
I have the nextcloud app backups disabled in cloudron since I have multiple copies of the files on different devices. Yet, it attempts to backup all the files while updating the app. I know I can tick "skip backup" during a manual update but it's a pain to keep up with updates. Any way to bypass or disable the backup phase during auto-updates?
@girish I noticed the backup upload speeds on my nextcloud homeserver to my s3 (backblaze) are identical to my contabo VPS which I have problems with (2-4 MBps). Could it be a CR bug or a Backblaze issue and not a VPS issue as I first suspected?
Thanks!
-
@humptydumpty you could just disable automatic backups?
-
@humptydumpty said in How to disable backups during auto-updates?:
Any way to bypass or disable the backup phase during auto-updates?
But this would be dangerous though. Users will just update with no backup . Update will fail and now there is nothing to revert to. For example, what is your own strategy if you log in tomorrow, nextcloud updated to a new version and nextcloud dashboard doesn't load.
-
@jdaviescoates I think @humptydumpty wants to way to enable automatic updates but disable backups.
Cloudron always takes a backup of an app before an app update. This is regardless of the (per app) backup setting. So, the only way to make an update work without taking a backup is actually by clicking the "Skip backup" option in the UI when you manually update. This design is intentional though.
-
@girish Yes, I'm aware of the risk. I would reinstall Nextcloud, set it up, and re-add the nextcloud folder in the clients. I'm not against backups if it can skip the user media/files and only back up the app stuff like users, app settings, plugins, etc. I have over 200GB of files (and growing) and backing that data up is a waste of resources especially when I'm not worried about data loss. I have multiple devices so that covers things being at different physical locations and then I have periodic manual backups that I take and keep as cold storage off-site also. I do have auto-backups disabled and would like to keep auto-updates enabled if possible.
-
@jdaviescoates I do have it disabled. The problem is that it takes a backup when auto-updating. I can manually update and click on "skip backup" but I'm trying to find a way to keep auto-updates on and have it skip backups altogether or if we could have a backup option ignore the user files and only back up the app settings in case things go south. Data loss is not a problem since I keep multiple copies of the files locally.
The reason for all this is because of slow backup speeds which end up failing so I had to disable daily backups to the s3 bucket. Today, I noticed that I was two updates behind even though I have auto-updates turned on. I spotted nextcloud in the middle of the update process but it's stuck at backing up the files with 2MBps upload speeds and then it went to 0MBps and I decided stop it, and manually run the updates with "skip backup" turned on.
BTW, there were no failed/error messages in the dashboard about the backups/updates not going through.
-
I was revisiting this issue and then remembered that CR 9.0 will have multiple destination backups, so I should be able to have NC back up to an attached drive locally instead of trying to upload hundreds of GB's to an s3 bucket.