<?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[optimizing VPS for backups]]></title><description><![CDATA[<p dir="auto">Hi.</p>
<p dir="auto">When I used Hetzner Storagebox for backups, everything worked just fine. Incremental backups took only around 4 minutes, for a 600BG backup. Just great.</p>
<p dir="auto">I wanted to move to my own server, so I've been doing some tests.<br />
Everything works just fine. I'm using sshfs, rsync with hardlinks.<br />
The first backup,  around 700GB now, takes around 10 hours (lots of small photos and stuff, backup server on a different country, etc), which I consider normal.</p>
<p dir="auto">BUT, next backups, although (almost) no data is transferred between the servers, take around 3,5 hours.<br />
I think it's because lots of hardlinks are beeing added/deleted, and it takes a lot of time.</p>
<p dir="auto">My questions are:</p>
<ol>
<li>I tested with ext4, am now testing with xfs. Should I expect xfs to be faster dealing with hardlinks?</li>
<li>Any tips for mounting the partitions?</li>
<li>Any ideas to make the whole process faster?</li>
</ol>
<p dir="auto">The server is capable enough, no high load on CPU, no IO Wait, so I think that's not the issue.<br />
Also, I'm using just 10 concurrency connections, because with more I didn't notice it faster, and also because it's sshfs and there's some latency involved (although just 25ms), I didn't want to saturate the ssh connection.</p>
<p dir="auto">Any tips is appreciated.<br />
Thanks!</p>
]]></description><link>https://forum.cloudron.io/topic/13635/optimizing-vps-for-backups</link><generator>RSS for Node</generator><lastBuildDate>Sat, 13 Jun 2026 06:45:05 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/13635.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 10 Apr 2025 15:26:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to optimizing VPS for backups on Mon, 14 Apr 2025 14:39:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a>  I appreciate your advice. The backup server is not on the same location as the cloudron server. It isn't even on the same country (like I do with all my backups).</p>
<p dir="auto">Maybe I wasn't clear: the server has an OS disk (nvme) and a HDD for backups. The mount I showed is the HDD disk mount. It was just to check if any filesystem mount options were needed to improve performance.</p>
<p dir="auto">Thank you all.</p>
]]></description><link>https://forum.cloudron.io/post/105668</link><guid isPermaLink="true">https://forum.cloudron.io/post/105668</guid><dc:creator><![CDATA[pitadavespa]]></dc:creator><pubDate>Mon, 14 Apr 2025 14:39:58 GMT</pubDate></item><item><title><![CDATA[Reply to optimizing VPS for backups on Mon, 14 Apr 2025 10:38:07 GMT]]></title><description><![CDATA[<p dir="auto">So then if this is a locally mounted disk it mostly comes down to I/O speed to this disk. Since we just run basic filesystem commands for the backups, not sure I have any further recommendation. Usually the defaults on linux for such things are already good.</p>
<p dir="auto">One thing though, if you have very precious data there, it is maybe not best advised to keep the live and backup data in the same physical location (which I presume it is, given a local mountpoint)</p>
]]></description><link>https://forum.cloudron.io/post/105662</link><guid isPermaLink="true">https://forum.cloudron.io/post/105662</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Mon, 14 Apr 2025 10:38:07 GMT</pubDate></item><item><title><![CDATA[Reply to optimizing VPS for backups on Mon, 14 Apr 2025 10:18:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> said in <a href="/post/105564">optimizing VPS for backups</a>:</p>
<blockquote>
<p dir="auto">EXT4 and XFS are basically treated the same way from Cloudron side, so there is no difference in that aspect.</p>
<p dir="auto">Just to be on the same page, you are still using the same configs sshfs (rsync with hardlinks) as before but only the remote is now not hetzner storage box anymore, but your own server with some disks mounted?</p>
<p dir="auto">If this is the case, then there is no difference at all from a Cloudron perspective. Maybe the disk I/O is just not as fast in your setup as with hetzner?</p>
</blockquote>
<p dir="auto">Hi, <a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> . Thank you for your time.<br />
Yes, the config is the same, except now backups are being sent to my server. It has a NVME boot disk and an HDD storage disk, for Cloudron backups.<br />
The first backup, 764GB, takes a few hours, just like hetzner storagebox. Disk I/O is (at least) good enough, I manage to do 500Mbps, easy. With lots of small files, it's less, off course.</p>
<p dir="auto">What differs are the next backups, where (almost) no data is transferred, only hard links are "updated". It takes around 4h to do this. I tested with a XFS mounted partition and now I'm testing with an EXT4. I think this one will handle this operation a bit better. Let's see.</p>
<p dir="auto">Partition is mount like this: UUID=xxxxxxxxxx /mnt/backups ext4 defaults,noatime,nodiratime,data=ordered,commit=15 0 2</p>
<p dir="auto">Any tips to make it better?</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.cloudron.io/post/105661</link><guid isPermaLink="true">https://forum.cloudron.io/post/105661</guid><dc:creator><![CDATA[pitadavespa]]></dc:creator><pubDate>Mon, 14 Apr 2025 10:18:50 GMT</pubDate></item><item><title><![CDATA[Reply to optimizing VPS for backups on Fri, 11 Apr 2025 14:52:31 GMT]]></title><description><![CDATA[<p dir="auto">EXT4 and XFS are basically treated the same way from Cloudron side, so there is no difference in that aspect.</p>
<p dir="auto">Just to be on the same page, you are still using the same configs sshfs (rsync with hardlinks) as before but only the remote is now not hetzner storage box anymore, but your own server with some disks mounted?</p>
<p dir="auto">If this is the case, then there is no difference at all from a Cloudron perspective. Maybe the disk I/O is just not as fast in your setup as with hetzner?</p>
]]></description><link>https://forum.cloudron.io/post/105564</link><guid isPermaLink="true">https://forum.cloudron.io/post/105564</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Fri, 11 Apr 2025 14:52:31 GMT</pubDate></item><item><title><![CDATA[Reply to optimizing VPS for backups on Fri, 11 Apr 2025 10:36:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/brutalbirdie" aria-label="Profile: BrutalBirdie">@<bdi>BrutalBirdie</bdi></a> said in <a href="/post/105541">optimizing VPS for backups</a>:</p>
<blockquote>
<p dir="auto">Because of a fix <a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> implement that runs some opperataions directly via. ssh in the storage-box instead of over fuse sshfs &gt; network &gt; mount yada yada.</p>
</blockquote>
<p dir="auto">Thanks.<br />
<a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> Could this fix be used in my use case?</p>
<p dir="auto">--</p>
<p dir="auto">Since yesterday, I'm testing backups with a XFS partition.<br />
I think something's different, compared to EXT4.<br />
On EXT4, after the first backup almost no data was transferred. It was just a matter of "taking care of the" hardlinks, although it took a few hours.<br />
On XFS, if I'm seeing it right, hardlinks on the snapshot folder where deleted, and now data is being transferred again from the Cloudron server.</p>
<p dir="auto">Can this be related to the filesystem?<br />
Or maybe the way the partition is mounted?</p>
<p dir="auto">Thanks for your help.</p>
<p dir="auto">PS: this is not a problem to me, things are working just fine. I'm just trying to understand, so I can optimize it, if possible.</p>
]]></description><link>https://forum.cloudron.io/post/105542</link><guid isPermaLink="true">https://forum.cloudron.io/post/105542</guid><dc:creator><![CDATA[pitadavespa]]></dc:creator><pubDate>Fri, 11 Apr 2025 10:36:05 GMT</pubDate></item><item><title><![CDATA[Reply to optimizing VPS for backups on Fri, 11 Apr 2025 10:17:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pitadavespa" aria-label="Profile: pitadavespa">@<bdi>pitadavespa</bdi></a> said in <a href="/post/105537">optimizing VPS for backups</a>:</p>
<blockquote>
<p dir="auto">with 100 concurrent connections</p>
</blockquote>
<p dir="auto">Keep in mind <a href="https://www.hetzner.com/storage/storage-box/" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.hetzner.com/storage/storage-box/</a></p>
<blockquote>
<p dir="auto">Concurrent connections 10</p>
</blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pitadavespa" aria-label="Profile: pitadavespa">@<bdi>pitadavespa</bdi></a> said in <a href="/post/105537">optimizing VPS for backups</a>:</p>
<blockquote>
<p dir="auto">On Hetzner Storagebox this was way faster, just a few minutes.</p>
</blockquote>
<p dir="auto">Because of a fix <code>@girish</code> implement that runs some opperataions directly via. ssh in the storage-box instead of over fuse sshfs &gt; network &gt; mount yada yada.</p>
]]></description><link>https://forum.cloudron.io/post/105541</link><guid isPermaLink="true">https://forum.cloudron.io/post/105541</guid><dc:creator><![CDATA[BrutalBirdie]]></dc:creator><pubDate>Fri, 11 Apr 2025 10:17:12 GMT</pubDate></item><item><title><![CDATA[Reply to optimizing VPS for backups on Fri, 11 Apr 2025 09:44:36 GMT]]></title><description><![CDATA[<p dir="auto"><img src="/assets/uploads/files/1744364619990-screenshot-from-2025-04-11-10-43-18.png" alt="Screenshot from 2025-04-11 10-43-18.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.cloudron.io/post/105539</link><guid isPermaLink="true">https://forum.cloudron.io/post/105539</guid><dc:creator><![CDATA[pitadavespa]]></dc:creator><pubDate>Fri, 11 Apr 2025 09:44:36 GMT</pubDate></item><item><title><![CDATA[Reply to optimizing VPS for backups on Fri, 11 Apr 2025 09:37:49 GMT]]></title><description><![CDATA[<p dir="auto">1st backup took around 10h. 745GB.<br />
2nd backup (rsync) took 3h06m, with 10 concurrent connections.<br />
Now running 3rd backup (rsynd) with 100 concurrent connections, to check if it's faster than the 2nd.</p>
<p dir="auto">I think all this time is just to delete and add hardlinks. Is there any way I can optimize it? Maybe on the server side?<br />
On Hetzner Storagebox this was way faster, just a few minutes.</p>
<p dir="auto">Many thanks to you all.</p>
]]></description><link>https://forum.cloudron.io/post/105537</link><guid isPermaLink="true">https://forum.cloudron.io/post/105537</guid><dc:creator><![CDATA[pitadavespa]]></dc:creator><pubDate>Fri, 11 Apr 2025 09:37:49 GMT</pubDate></item><item><title><![CDATA[Reply to optimizing VPS for backups on Thu, 10 Apr 2025 21:32:12 GMT]]></title><description><![CDATA[<p dir="auto">Hi.<br />
Yes, I know. I have it to 12GB, although I'm only using 10 parallel connections.</p>
<p dir="auto">Since the backup started (the first one), around 7h ago or so, it copied 675GB, but now it's doing "something" that takes forever. iftop shows around 80Kbps data transfer from the source server.<br />
I'm not sure how much more time it will take.</p>
]]></description><link>https://forum.cloudron.io/post/105506</link><guid isPermaLink="true">https://forum.cloudron.io/post/105506</guid><dc:creator><![CDATA[pitadavespa]]></dc:creator><pubDate>Thu, 10 Apr 2025 21:32:12 GMT</pubDate></item><item><title><![CDATA[Reply to optimizing VPS for backups on Thu, 10 Apr 2025 17:21:22 GMT]]></title><description><![CDATA[<p dir="auto">Did you know you can increase the RAM and the concurrency for the backup task? (Maybe this also helps)</p>
<p dir="auto"><img src="/assets/uploads/files/1744305626910-d8b19497-1b2d-454a-8cf8-b1854ba5bd9b-image.png" alt="image.png" class=" img-fluid img-markdown" /><br />
opens this:<br />
<img src="/assets/uploads/files/1744305650647-1480ca19-215a-4be9-89d3-688fcec514a1-image.png" alt="image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.cloudron.io/post/105499</link><guid isPermaLink="true">https://forum.cloudron.io/post/105499</guid><dc:creator><![CDATA[BrutalBirdie]]></dc:creator><pubDate>Thu, 10 Apr 2025 17:21:22 GMT</pubDate></item></channel></rss>