Bloated n8n backup
-
Just got auto-updated to Cloudron 9.0.13 a few weeks ago and my n8n backups have gone absolutely bonkers.
They jumped from a consistent 800MB-1GB range to 6.37GB. File count stayed the same (5877 files), so something else is getting backed up now.
Dug into the container and found /usr is 2.8GB and /app is 2.4GB - that's basically the entire 6GB right there.
Did something change with backup scope in Cloudron 9? Is this a known issue? My backup storage costs just tripled overnight for what looks like redundant system files that shouldn't be in there.
Anyone else seeing this?
-
@umnz are you able to check the size of the file in your backup storage directly? Does it match what Cloudron is reporting?
@Joseph yes, the size matches.
There appears to be no rhyme or reason to these backup sizes after updating. Nightly is showing a smaller file size now.
The reason it is noticeable is updating an app is taking 15-20 minutes because of the snapshot+upload to Cloudflare R2. 6GB takes a lot longer than 800mb.

-
When I try to download the backup from the Cloudron interface I get this error:
{ "status": "Conflict", "message": "only tgz backups can be downloaded" }Is this because they are encrypted? .tar.gz.enc
I will try the Cloudflare UI. But still curious to understand why that error occurs.
-
When I try to download the backup from the Cloudron interface I get this error:
{ "status": "Conflict", "message": "only tgz backups can be downloaded" }Is this because they are encrypted? .tar.gz.enc
I will try the Cloudflare UI. But still curious to understand why that error occurs.
-
@umnz also if you open webterminal of n8n and then cd /app/data and
du -hcs .what size do you get?@joseph said in Bloated n8n backup:
du -hcs .
I get 1.5G.
Be mindful since posting the above I have restarted my Cloudron instance which had been up (for 5 days) since automatically updating to 9.0.13.
Cloudflare won't let me download files over 1G directly so I'll look to update to 9.0.14 now.
-
@umnz also if you open webterminal of n8n and then cd /app/data and
du -hcs .what size do you get? -
J joseph has marked this topic as solved
-
Hello @p44
I think, this might be no issue at all rather expected between each LibreChat version change.
I have checked the changelog of LibreChat app version1.0.1to1.0.2since that is the big size change.
Since Version the app version1.0.2upgraded LibreChat to0.8.1this also required a new meilisearch version the meilisearch DB file was reinitialized which is a necessary step.
This could explain the size change between the two version and would also make sense with all the other backups slowly increasing in size since the meilisearch db is filled over time.If you can download the backup with the larger size and the latest that is smaller.
Cross compare them to see if it is truly just the meilisearch DB file, that would confirm it.

