In a Support discussion titled “Any way to disable gzipping backups?”, peternlewis reports that their backup process fails during gzip compression after a recent PostgreSQL update, due to limited server storage on Digital Ocean. They’re delaying a costly server upgrade and seek a way to disable gzip to save space. pfaffman suggests running ./launcher cleanup to free space — which peternlewis confirms helps temporarily. Ed_S references a prior thread suggesting disabling gzip to reduce disk usage. peternlewis wonders if adding --gzip flag might help, but later clarifies they meant to avoid gzip entirely. pfaffman proposes using cheap block storage for backups or uploads. peternlewis asks if block storage can be used solely for backups — pfaffman confirms yes, by mapping an external volume to /shared/backup in app.yml, noting temporary files might still write locally. pfaffman provides a sample volumes config snippet for mounting external storage. The thread combines troubleshooting, workaround suggestions, and infrastructure alternatives to address gzip-related backup failures under disk constraints.
Is er een manier om het zippen van back-ups uit te schakelen?
Omdat ik weet dat ik uiteindelijk de grootte van mijn Digital Ocean-server zal moeten vergroten, maar aangezien dat de maandelijkse kosten in wezen verdubbelt, stel ik het zo lang mogelijk uit.
En na de laatste update (toen het overschakelde naar de nieuwe postgres), lijkt het erop dat ik het punt heb bereikt waarop mijn back-up kan worden gemaakt, maar vervolgens mislukt het zippen van de back-up. Ironisch.
Aangezien ik de back-up na het maken van de server kopieer en elders opsla, heeft de gzip geen echte waarde (iets langere overdrachtstijd) en kan ik deze zippen nadat ik deze van de server heb gehaald voor langdurige opslag. Bovendien zijn veel van de back-up de uploads, en de afbeeldingen en dergelijke zullen al gecomprimeerd zijn.
Maar momenteel, vanwege het gzip-proces, mislukt de volledige back-up.
Dus - is er een manier om gewoon te zeggen: niet de back-up zippen?
Block storage is pretty cheap, I think. You could use it for just backups or also uploads. I think it might be a bit tricky to see that the block storage gets used for the temporary space used to build the backup.
Can I use block storage just for the backups? If so, that might be an option to extend the time until I have to double the server unless it first creates it locally and then copies it to S3 in which case that would not help at all.
Yes. It would be the same idea as I described for the uploads. The thing I can’t remember is where the temporary files get written. I think it may be in the backup logs. You’d just make sure that you have that directory mapped to the extra storage space in your app.yml