<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Exclude certain paths from backup]]></title><description><![CDATA[<p dir="auto">As my mastodon app collected a lot of cached files, my daily backup got really big. I would love to have an option to exclude certain paths from backup. I could imagine other apps also create cache directories, which are not important to be in the backup?</p>
]]></description><link>https://forum.cloudron.io/topic/16052/exclude-certain-paths-from-backup</link><generator>RSS for Node</generator><lastBuildDate>Sat, 03 Oct 2026 05:26:28 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/16052.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 01 Oct 2026 21:43:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Exclude certain paths from backup on Fri, 02 Oct 2026 09:55:42 GMT]]></title><description><![CDATA[<p dir="auto">just to not miss this, have you tried to set the cache retention lower first? <a href="https://docs.cloudron.io/packages/mastodon#cache-retention-days" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/packages/mastodon#cache-retention-days</a></p>
<p dir="auto">That has drastically reduced the amount to backup for my instance. Worst case my instance just has to refetch when scolling the timeline</p>
]]></description><link>https://forum.cloudron.io/post/130362</link><guid isPermaLink="true">https://forum.cloudron.io/post/130362</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Fri, 02 Oct 2026 09:55:42 GMT</pubDate></item><item><title><![CDATA[Reply to Exclude certain paths from backup on Fri, 02 Oct 2026 09:55:14 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/dsp76" aria-label="Profile: dsp76">@<bdi>dsp76</bdi></a><br />
Yes.<br />
We will look into moving these cache files outside <code>/app/data/</code> so they are not included in the backup.</p>
]]></description><link>https://forum.cloudron.io/post/130361</link><guid isPermaLink="true">https://forum.cloudron.io/post/130361</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Fri, 02 Oct 2026 09:55:14 GMT</pubDate></item><item><title><![CDATA[Reply to Exclude certain paths from backup on Fri, 02 Oct 2026 09:49:21 GMT]]></title><description><![CDATA[<p dir="auto">Understood - so would it mean, that maintaining the mastodon app image would need to change to store cache elsewhere, not in /app/data?</p>
]]></description><link>https://forum.cloudron.io/post/130359</link><guid isPermaLink="true">https://forum.cloudron.io/post/130359</guid><dc:creator><![CDATA[dsp76]]></dc:creator><pubDate>Fri, 02 Oct 2026 09:49:21 GMT</pubDate></item><item><title><![CDATA[Reply to Exclude certain paths from backup on Fri, 02 Oct 2026 09:32:47 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/dsp76" aria-label="Profile: dsp76">@<bdi>dsp76</bdi></a></p>
<p dir="auto">After some consideration I am against such a feature.<br />
I can understand that it could be useful in some cases like this one, but we should rather fix the app itself to not include these files in the backup.<br />
Cloudron expects everything in <code>/app/data/</code> to be part of the backup/restore process.<br />
If something gets excluded it might be fine at first.<br />
But, it would be the user's responsibility to maintain that exclusion.</p>
<p dir="auto">Example:<br />
<code>/app/data/$some_folder</code> gets excluded from the backup.<br />
The app decides upstream to store something in that folder that is needed for a full backup/restore process.<br />
User has some issue, restores, app is broken, reports the issue in the forum/mail.<br />
We'd have to analyse why a backup/restore failed, only to see it was a custom backup exclusion that caused the issue.<br />
We would have to inform the user, it is his fault, we can't do anything to restore the app into a working state again.</p>
<p dir="auto">This would partially shift the responsibility for working backup/restore from Cloudron to the customer and would only lead to customer dissatisfaction.</p>
]]></description><link>https://forum.cloudron.io/post/130357</link><guid isPermaLink="true">https://forum.cloudron.io/post/130357</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Fri, 02 Oct 2026 09:32:47 GMT</pubDate></item><item><title><![CDATA[Reply to Exclude certain paths from backup on Thu, 01 Oct 2026 21:51:59 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/dsp76" aria-label="Profile: dsp76">@<bdi>dsp76</bdi></a><br />
Thanks for reporting.<br />
Instead, we should move these cache files to either <a href="https://docs.cloudron.io/packaging/manifest#runtimedirs" target="_blank" rel="noopener noreferrer nofollow ugc">runtimedirs</a> or <a href="https://docs.cloudron.io/packaging/manifest#persistentdirs" target="_blank" rel="noopener noreferrer nofollow ugc">persistentdirs</a></p>
]]></description><link>https://forum.cloudron.io/post/130338</link><guid isPermaLink="true">https://forum.cloudron.io/post/130338</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Thu, 01 Oct 2026 21:51:59 GMT</pubDate></item></channel></rss>