<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Cloud on Unnamed Website</title><link>https://unnamed.website/tags/cloud/</link><description>Recent content in Cloud on Unnamed Website</description><generator>Hugo</generator><language>en-us</language><managingEditor>Anthony Wang</managingEditor><webMaster>Anthony Wang</webMaster><lastBuildDate>Tue, 31 Dec 2024 11:48:06 -0600</lastBuildDate><atom:link href="https://unnamed.website/tags/cloud/index.xml" rel="self" type="application/rss+xml"/><item><title>My Backup Strategy</title><link>https://unnamed.website/posts/backup-strategy/</link><pubDate>Tue, 31 Dec 2024 11:48:06 -0600</pubDate><author>Anthony Wang</author><guid>https://unnamed.website/posts/backup-strategy/</guid><description>&lt;p&gt;Yesterday my friend wrote a &lt;a href="https://d-rens.xyz/blog/backup-considerations/"&gt;blog post about their backup strategy&lt;/a&gt; so I guess I&amp;rsquo;ll do the same.&lt;/p&gt;
&lt;p&gt;November was a data loss bonanza for me, both due to &lt;a href="https://unnamed.website/posts/saddam-linkedin-aosc/"&gt;Saddam Hussein&amp;rsquo;s LinkedIn&lt;/a&gt; and an SSD failure, so I recently took some time to actually do backups properly. There are a &lt;a href="https://wiki.archlinux.org/title/Synchronization_and_backup_programs#Incremental_backups"&gt;gazillion backup tools&lt;/a&gt; out there, and I&amp;rsquo;ve tried a good chunk of them: rsync, rclone, bup, restic, duplicity&amp;hellip;&lt;/p&gt;
&lt;p&gt;But&amp;hellip; they&amp;rsquo;re all wrong. There&amp;rsquo;s only ONE TRUE WAY to do backups, and that&amp;rsquo;s Btrfs &lt;code&gt;send&lt;/code&gt; and &lt;code&gt;receive&lt;/code&gt;. (Or ZFS. But I&amp;rsquo;ll focus on Btrfs in this post since that&amp;rsquo;s what I&amp;rsquo;m familiar with.) It&amp;rsquo;s super fast, efficient, and puts all these other tools to shame. Why? Because the filesystem itself knows exactly what&amp;rsquo;s changed between snapshots. It doesn&amp;rsquo;t use those puny &lt;code&gt;stat&lt;/code&gt; abstractions that userspace tools are limited to. If you&amp;rsquo;re backing up one million files, all those other tools need to scan through all one million files to check if they&amp;rsquo;ve changed!&lt;/p&gt;</description></item></channel></rss>