<?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[Move Navidrome cache out of /app/data so it isn’t backed up]]></title><description><![CDATA[<p dir="auto">I’ve been looking into why my rsync backups have got so slow, and file count turned out to be the main factor.</p>
<p dir="auto">In my Navidrome app, <code>/app/data/data/cache</code> has about 68,000 files, 71% of the app’s total.</p>
<p dir="auto">It’s all resized artwork and transcodes that Navidrome regenerates on demand, so there’s no value in backing it up, but with rsync to an sshfs target every one of those files costs time on every run.</p>
<p dir="auto">Could the cache be moved to a persistent dir outside <code>/app/data</code>, <a href="https://forum.cloudron.io/topic/16052/exclude-certain-paths-from-backup">as was done for Mastodon</a>?</p>
<p dir="auto">Navidrome supports setting the location with <code>ND_CACHEFOLDER</code>, so it should be a simple change.</p>
<p dir="auto">Happy to test.</p>
<p dir="auto">Thanks.</p>
]]></description><link>https://forum.cloudron.io/topic/16143/move-navidrome-cache-out-of-app-data-so-it-isn-t-backed-up</link><generator>RSS for Node</generator><lastBuildDate>Wed, 28 Oct 2026 21:28:53 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/16143.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 17 Oct 2026 09:56:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Move Navidrome cache out of /app/data so it isn’t backed up on Sun, 18 Oct 2026 11:06:30 GMT]]></title><description><![CDATA[<p dir="auto">Glad you got it resolved.</p>
]]></description><link>https://forum.cloudron.io/post/131186</link><guid isPermaLink="true">https://forum.cloudron.io/post/131186</guid><dc:creator><![CDATA[timconsidine]]></dc:creator><pubDate>Sun, 18 Oct 2026 11:06:30 GMT</pubDate></item><item><title><![CDATA[Reply to Move Navidrome cache out of /app/data so it isn’t backed up on Sun, 18 Oct 2026 09:14:07 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">jdaviescoates <a href="/post/131138">said</a>:</p>
<pre><code>@timconsidine said:

only copies what has actually been changed
</code></pre>
<p dir="auto">It does. But it still has to check every file to see what has changed and that's what takes the extra time when you've got tens of thousands of files that don't need to be backed up in the first place.</p>
</blockquote>
<p dir="auto">But it turns out file count wasn’t the main problem!</p>
<p dir="auto">It was mostly two huge database dumps. Fider had an 11 GB logs table (a 15.6 GB dump), left over from older package versions, <a href="https://forum.cloudron.io/topic/15766/fider-old-installs-carry-a-large-logs-table-inside-their-own-database">as described in this thread</a>.</p>
<p dir="auto">And Matrix had 86 million rows of state for an old room created by @abuse:matrix.org that nobody on my server is even in any more.</p>
<p dir="auto">Clearing those cut my rsync backup from nearly 3 hours to under 10 minutes!</p>
<p dir="auto">Moving the Navidrome cache out of /app/data would still be good, but it’s clearly minor by comparison.</p>
]]></description><link>https://forum.cloudron.io/post/131180</link><guid isPermaLink="true">https://forum.cloudron.io/post/131180</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Sun, 18 Oct 2026 09:14:07 GMT</pubDate></item><item><title><![CDATA[Reply to Move Navidrome cache out of /app/data so it isn’t backed up on Sat, 17 Oct 2026 15:06:53 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/timconsidine" aria-label="Profile: timconsidine">@<bdi>timconsidine</bdi></a> <a href="/post/131136">said</a>:</p>
<p dir="auto">only copies what has actually been changed</p>
</blockquote>
<p dir="auto">It does. But it still has to <em>check</em> every file to see what has changed and that's what takes the extra time when you've got tens of thousands of files that don't need to be backed up in the first place.</p>
]]></description><link>https://forum.cloudron.io/post/131138</link><guid isPermaLink="true">https://forum.cloudron.io/post/131138</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Sat, 17 Oct 2026 15:06:53 GMT</pubDate></item><item><title><![CDATA[Reply to Move Navidrome cache out of /app/data so it isn’t backed up on Sat, 17 Oct 2026 10:14:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jdaviescoates" aria-label="Profile: jdaviescoates">@<bdi>jdaviescoates</bdi></a> I thought rsync only copies what has actually been changed, but still good point (maybe navidrome is aggressively regenerating).</p>
]]></description><link>https://forum.cloudron.io/post/131136</link><guid isPermaLink="true">https://forum.cloudron.io/post/131136</guid><dc:creator><![CDATA[timconsidine]]></dc:creator><pubDate>Sat, 17 Oct 2026 10:14:45 GMT</pubDate></item></channel></rss>