Backup uploads time out after 12 hours; can no longer manually adjust timeout to be longer.
-
Hello! I've been using this method described here to manually set my timeout for my long backup uploads to be much longer than the default. However after the most recent update this method no longer seems to be working.
Is there a new way I need to manually adjust the timeout of my backup uploads?
-
@shan 3 days is a loooooot ^^ I guess you have very limited upload speed? Switching from rsync to tgz helped me cutting the time my backup needs in half because of all the small files (wordpress, email...). For larger files that do not change a lot (like media formats), rsync could be way better. You can also exclude apps from automatic backups and do a manual backup from time to time.
Would really wish to have better incremental backups for Cloudron. Uploading ~150GB per day is pretty wasty. Duplicati takes 5 minutes per day to update a 300gb backup copy of my private stuff.
-
@shan said in Backup uploads time out after 12 hours; can no longer manually adjust timeout to be longer.:
@subven I am using tgz because rsync couldn't handle the char length of my encrypted file names, lol. Just need a way to manually adjust this upload time
Fix for that is coming In 7.3, there is a checkbox to disable filename encryption alone - https://docs.cloudron.io/backups/#filenames
For the moment, you can always bump the timeout here - https://git.cloudron.io/cloudron/box/-/blob/master/src/backups.js#L239 . That file would be
/home/yellowtent/box/src/backups.js
. -
-
@marcusquinn ah, catch-22 But you should be able to fix up the code in 7.2 accordingly as well and then click the update button.
-
@marcusquinn you can maybe backup by exporting your server with a snapshot over your VPS provider? You can also skip the backup entirely
-
Backup seems to be getting stuck on "Uploading mail snapshot", but I don't have that much email, so I suspect something else going on there. I do have VPS snapshots, so I think you're right on skipping the backup in this case. Ta.
-
@shan yes, on a Cloudron update, the code will revert back.
I am surprised a backup takes that much time though. Have you debugged further as to why? How much data do you have and how long is the upload taking ? (You can get this info from the logs as well).
-
@CBCUN Just wondering if I should bump up the timeout to more than 24 hours. Do you think this is some Cloudron upload issue or do you suspect it takes that long to upload from netcup to blackblaze?
Maybe netcup throttles speed after a point ?I guess another idea is to make this timeout configurable.