<?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[Backblaze encrypted backup with Rsync fails]]></title><description><![CDATA[<p dir="auto">Hi All, I am unable to complete backup of a nextcloud instance (~500gb) with backblaze. I know cloudron backup is not usually recommended for larger apps but I thought I'd give it a shot again now that more backup parameters are tweakable. The error I am seeing seems related to encrypted file name length, here it is below:</p>
<pre><code>Error uploading snapshot/app_&lt;nextcloud app id here&gt;/KQtuToxscu6Wp+TQwes2r+Zt37fqVz9KBKw9r3zlGFo/rLwS54KpQJ5BUWx9Wf57gBjNtYl00DkPTpRIO7DHr6E/TQkmjgv8A-8ri6mQv26IOC3SBV98HjxGQYu7Wj942Bc/uROadiwRY44JGJ7Dx8MZs9Tl43w1dViTXgkUZQELVs4/gfgicTfaoUCSMjUN1MOOBnZV3VIOt-jmyeRQIYHGPgs/yROzi4S0rB1UDLZciqxuJMHauKsCowwWvn14ymMFMCo/zK0oecogUE+CWK3JQQCDlW2mmn2Ny-BzrmGk3QokTgk/jOMbp4bhfQklbq5PlI9VYAxfjWMDqO-kd04br5t9gp4/Bdj3Hxfg03RHtuW1vhWh30hEtbB9hS75XLlvUkpdn5M-orp0303DwHg86Kj0jH+Z/hVvdpoNTbKd5ttdU9ZK5JkxtksDlRByNTlLrKZ0Kd5w/7Z2EkbU6DDooF1el4rNzETh4Hi9hW4gqC1yNKEy2byo/s788Z0aGNJt5k5t4LUbO8bmitJ+Y2lTTeYbNV-aDguk/TyEoW0Ge6PJHTg6BeGnNuN4ATowyTxWeejACY22-tgeQA7KJlA7-LVNN-ANz+xc8/DYluRyzYVRZRwR+OtWyLsND675uSdAq7WOzPwbl7tH4/jLUYu3qxS96Fj5-MwYq0YowSytZATPSJkcoBi-JbVgY/Hnvhas87QQpcrWkXBVoITd-eMTXxw6Gh4xCov9sqVsc/0y6Kh1Lt99UO6RdBTII7kgHHoPVLeSu9r-6HWmzi5MSBa9ioD6J9pkSDgI6bPq6a/7Z2EkbU6DDooF1el4rNzETh4Hi9hW4gqC1yNKEy2byo/Hnvhas87QQpcrWkXBVoITd-eMTXxw6Gh4xCov9sqVsc/1GQ+V1wtz+KCmZU1hEcQb0Wf0ZxKEAZhoejV31Cr6Lg/+tqCfG-K-nTRG3LiFmWOSqRg1HmzpiqY2ytGbHNF8Xxh4xhfznEEAfrMKhJIKDFl. Message: File name in UTF8 must be no more than 1024 bytes HTTP Code: InvalidRequest
</code></pre>
]]></description><link>https://forum.cloudron.io/topic/6269/backblaze-encrypted-backup-with-rsync-fails</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Apr 2026 06:58:38 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/6269.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 04 Jan 2022 18:17:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Backblaze encrypted backup with Rsync fails on Mon, 31 Jan 2022 19:29:00 GMT]]></title><description><![CDATA[<p dir="auto">For future reference i managed to clear it up by using a slightly modified version of Girish's search command. It seems like the length limit applies to path length not just the filename length</p>
<pre><code>find . -type f -print|awk '{print length($0), $0}' | sort -n
</code></pre>
<p dir="auto">Went into the web interface and deleted / renamed files longer than 156 bytes and finally cleared trashbin/versioned files</p>
<p dir="auto">(wipes all deleted / old versions of files - careful):</p>
<pre><code>sudo -u www-data php -f /app/code/occ versions:cleanup
sudo -u www-data php -f /app/code/occ trashbin:cleanup
</code></pre>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/robi" aria-label="Profile: robi">@<bdi>robi</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> agreed it would be awesome if there was an automated way to handle this in the future</p>
]]></description><link>https://forum.cloudron.io/post/42658</link><guid isPermaLink="true">https://forum.cloudron.io/post/42658</guid><dc:creator><![CDATA[ethanxrosen]]></dc:creator><pubDate>Mon, 31 Jan 2022 19:29:00 GMT</pubDate></item><item><title><![CDATA[Reply to Backblaze encrypted backup with Rsync fails on Sat, 08 Jan 2022 03:22:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> not within the same backup, and not at the remote backup location due to use of directory structures.</p>
]]></description><link>https://forum.cloudron.io/post/41405</link><guid isPermaLink="true">https://forum.cloudron.io/post/41405</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Sat, 08 Jan 2022 03:22:03 GMT</pubDate></item><item><title><![CDATA[Reply to Backblaze encrypted backup with Rsync fails on Sat, 08 Jan 2022 01:03:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/robi" aria-label="Profile: robi">@<bdi>robi</bdi></a> might conflict with an existing filename, if we truncate no? I guess another (dangerous) idea is to simply skip such files.</p>
]]></description><link>https://forum.cloudron.io/post/41395</link><guid isPermaLink="true">https://forum.cloudron.io/post/41395</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Sat, 08 Jan 2022 01:03:30 GMT</pubDate></item><item><title><![CDATA[Reply to Backblaze encrypted backup with Rsync fails on Fri, 07 Jan 2022 23:20:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> if it's just a renaming issue, that would be an easy filter for the Cloudron backup process to make.. truncate names to 150 bytes.</p>
]]></description><link>https://forum.cloudron.io/post/41393</link><guid isPermaLink="true">https://forum.cloudron.io/post/41393</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Fri, 07 Jan 2022 23:20:51 GMT</pubDate></item><item><title><![CDATA[Reply to Backblaze encrypted backup with Rsync fails on Fri, 07 Jan 2022 17:58:34 GMT]]></title><description><![CDATA[<p dir="auto">Encryption has filename length limitations of 156 bytes - <a href="https://docs.cloudron.io/backups/#encryption" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/backups/#encryption</a></p>
<p dir="auto">If you run the command listed there, it will tell you what filenames are too long (run this using Web terminal):</p>
<pre><code>cd /app/data
find . -type f -printf "%f\n" | awk '{ print length(), $0 | "sort -rn" }' | less
</code></pre>
]]></description><link>https://forum.cloudron.io/post/41363</link><guid isPermaLink="true">https://forum.cloudron.io/post/41363</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 07 Jan 2022 17:58:34 GMT</pubDate></item><item><title><![CDATA[Reply to Backblaze encrypted backup with Rsync fails on Thu, 06 Jan 2022 08:54:39 GMT]]></title><description><![CDATA[<p dir="auto">one can also change the cypher or other parameters which won't generate the same length cypher text.</p>
<p dir="auto">this could also be checked by Cloudron and perhaps split into two objects/files.</p>
]]></description><link>https://forum.cloudron.io/post/41294</link><guid isPermaLink="true">https://forum.cloudron.io/post/41294</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Thu, 06 Jan 2022 08:54:39 GMT</pubDate></item><item><title><![CDATA[Reply to Backblaze encrypted backup with Rsync fails on Thu, 06 Jan 2022 00:37:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ethanxrosen" aria-label="Profile: ethanxrosen">@<bdi>ethanxrosen</bdi></a> The error indicates you have at least one file which is too lengthy in name for Backblaze's requirements. This is a somewhat common side effect of encryption, unfortunately, when it comes to using object storage services. That's not even a BB issue specifically but common to many of those providers. In your case, you'll either need to determine what file is too lengthy to see if you can trim it down a bit so that it won't be too long once encrypted, or abandon encryption to any object storage services all together.</p>
]]></description><link>https://forum.cloudron.io/post/41286</link><guid isPermaLink="true">https://forum.cloudron.io/post/41286</guid><dc:creator><![CDATA[d19dotca]]></dc:creator><pubDate>Thu, 06 Jan 2022 00:37:03 GMT</pubDate></item></channel></rss>