<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Francis T. O'Donovan</title>
    <description>The latest articles on DEV Community by Francis T. O'Donovan (@proinsias).</description>
    <link>https://dev.to/proinsias</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F359892%2Fe37e270c-5e5c-4e6b-86e5-07628fa7417a.jpeg</url>
      <title>DEV Community: Francis T. O'Donovan</title>
      <link>https://dev.to/proinsias</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/proinsias"/>
    <language>en</language>
    <item>
      <title>Pets v Cattle: Making a personal disaster recovery plan</title>
      <dc:creator>Francis T. O'Donovan</dc:creator>
      <pubDate>Thu, 20 Apr 2023 01:05:48 +0000</pubDate>
      <link>https://dev.to/proinsias/pets-v-cattle-making-a-personal-disaster-recovery-plan-38c4</link>
      <guid>https://dev.to/proinsias/pets-v-cattle-making-a-personal-disaster-recovery-plan-38c4</guid>
      <description>&lt;p&gt;&lt;sup&gt;&lt;em&gt;Banner photo by &lt;a href="https://www.flickr.com/people/91261194@N06/"&gt;Jernej Furman&lt;/a&gt; shared under a &lt;a href="https://creativecommons.org/licenses/by/2.0/"&gt;Creative Commons (BY) license&lt;/a&gt;&lt;/em&gt;.&lt;/sup&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"When dealing with computers, you should rely on cattle, not on pets."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;With these wise words, a former DevOps colleague introduced me to the idea of treating computers &lt;a href="https://cloudscaling.com/blog/cloud-computing/the-history-of-pets-vs-cattle/"&gt;as cattle, rather than pets&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;When you put a lot of love, care and attention into the configuration and maintenance of individual machines, they become like pets. You would hate to seem them go. This is especially true if your entire business relies on that machine's availability. If a machine goes down, you have to wait until a new machine is built, and your custom configuration restored from a backup that is &lt;em&gt;hopefully&lt;/em&gt; complete and valid.&lt;/p&gt;

&lt;p&gt;Rather than relying on these "pets", a better approach is to depend on a collections of machines that can be automatically created, configured, deleted and replaced. These machines are "cattle", with a bunch of machines in your "herd". If something happens to one of them, you can easily replace that machine.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--KI0PNQBL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2i9q7hkznmnno2g46cbk.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--KI0PNQBL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2i9q7hkznmnno2g46cbk.jpg" alt="Cattle versus Pets" width="800" height="533"&gt;&lt;/a&gt;&lt;br&gt;
&lt;sup&gt;&lt;em&gt;When dealing with computers, you should rely on cattle, not on pets. [Photo in CC0 Public Domain]&lt;/em&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;This DevOps strategy has become an important part of corporate disaster recovery plans, because it allows for rapid recovery of entire systems that form the backbone of a business and tests that recovery process regularly as individual machines fail.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--GcakVZYW--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ika17jbyu0c71t3eru8v.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--GcakVZYW--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ika17jbyu0c71t3eru8v.jpg" alt="Disaster strikes" width="800" height="543"&gt;&lt;/a&gt;&lt;br&gt;
&lt;sup&gt;&lt;em&gt;When disaster strikes, how quickly will you recover? [Photo in public domain.]&lt;/em&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;While this is a good system for how to run a business, this idea resonated with me because of my own previous experience having to swap work laptops routinely over several months caused by some buggy hardware. I ended up having to recreate my work environment multiple times to have access to the applications, documents, and system configuration that I required to get my job done.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Y7cGVjES--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/u0op0od4q93sft2jmf92.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Y7cGVjES--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/u0op0od4q93sft2jmf92.jpg" alt="Broken laptop" width="800" height="601"&gt;&lt;/a&gt;&lt;br&gt;
&lt;sup&gt;&lt;em&gt;When you drop your laptop, how soon before you can be working again? [Photo by &lt;a href="https://commons.wikimedia.org/wiki/User:Zunter"&gt;Santeri Viinamäki&lt;/a&gt; shared under a &lt;a href="https://creativecommons.org/licenses/by-sa/4.0/"&gt;CC BY-SA 4.0 license&lt;/a&gt;.]&lt;/em&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;As a result of this experience, I became interested in how to do this as efficiently as possible – how could I best treat my personal machines as cattle, not as pets? How could I develop a personal disaster recovery plan that would:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Improve upon the standard process of backup and restore of a "pet" computer,&lt;/li&gt;
&lt;li&gt;Allow for a rapid recovery of my systems that enable me to get work done after they suffer damage, theft or other disaster, and&lt;/li&gt;
&lt;li&gt;Test that recovery process regularly.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--IHuZZ6m0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w223z5133ki566v43ssd.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--IHuZZ6m0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w223z5133ki566v43ssd.jpg" alt="Thinker" width="800" height="1200"&gt;&lt;/a&gt;&lt;br&gt;
&lt;sup&gt;&lt;em&gt;[Photo by CrisNYCa shared under a &lt;a href="https://creativecommons.org/licenses/by-sa/4.0/"&gt;CC BY-SA 4.0 license&lt;/a&gt;.]&lt;/em&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;Here I'll discuss first the issues I've found with the backup/restore process, and then what I've come up with so far as an alternative. I hope you find it useful, and please let me know if you have your own tips via the comments!&lt;/p&gt;

&lt;h2&gt;
  
  
  Typical backup systems
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;Entire-system backups are essential and comprehensive but slow.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The first step of any recovery plan must be to ensure that backups of your entire system are being done regularly (at least daily if not more frequently), and properly using the &lt;a href="https://www.backblaze.com/blog/the-3-2-1-backup-strategy/"&gt;3-2-1 rule&lt;/a&gt;: three copies of your data on two different media with one copy stored off-site.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--tSc9OagY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1dp1fy1howu9604v0c97.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--tSc9OagY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1dp1fy1howu9604v0c97.jpg" alt="Backup" width="800" height="533"&gt;&lt;/a&gt;&lt;br&gt;
&lt;sup&gt;&lt;em&gt;[Photo by &lt;a href="http://www.nyphotographic.com/"&gt;Nick Youngson&lt;/a&gt; &lt;a href="http://creativecommons.org/licenses/by-sa/3.0/"&gt;CC BY-SA 3.0&lt;/a&gt; &lt;a href="https://pix4free.org/"&gt;Pix4free.org&lt;/a&gt;.]&lt;/em&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;Unfortunately I have found that using backups alone as a recovery plan has several issues:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;It's slow to restore an entire machine, and the machine is out of commission the entire time the restore is happening.&lt;/li&gt;
&lt;li&gt;Even if your backup software allows for restoring a subset of the backup, it can be difficult to find all the data you need scattered across the system, especially if you're not a power user.&lt;/li&gt;
&lt;li&gt;It's hard to trust the backup process. Who among us has actually taken the time to restore a backup for the sole purpose of verifying it? And I've had numerous issues when a recovery was necessary, though thankfully none that proved fatal.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--OuyVFFfs--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/v2781iifw52gtcyap6fj.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--OuyVFFfs--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/v2781iifw52gtcyap6fj.jpg" alt="Backup disaster" width="800" height="771"&gt;&lt;/a&gt;&lt;br&gt;
&lt;sup&gt;&lt;em&gt;[Photo by &lt;a href="https://web.archive.org/web/20161014064145/https://www.flickr.com/people/60026579@N00"&gt;John Boston&lt;/a&gt; shared under a &lt;a href="https://creativecommons.org/licenses/by/2.0/"&gt;CC BY 2.0&lt;/a&gt; license.]&lt;/em&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  My disaster recovery plan
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;For rapid recovery, backup and restore system components separately and automatically.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;As part of my plan to rapidly and automatically configure a new machine, I identified the following different system components that I would want to recover independently, at different times, and without hogging the machine.&lt;/p&gt;

&lt;h3&gt;
  
  
  Documents
&lt;/h3&gt;

&lt;p&gt;Your documents are often the most valuable and irreplaceable data on your machine. Thankfully they are also the easiest to protect – use any document-syncing service, such as Google Drive, OneDrive, Dropbox, etc. – as long as you can be disciplined enough not to store any documents outside the relevant directory!&lt;/p&gt;

&lt;p&gt;Then on a new machine, log into the service, and your documents will start loading!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--woz6WnuF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/azzzqzsjefsj9gicghd4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--woz6WnuF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/azzzqzsjefsj9gicghd4.png" alt="Documents syncing" width="800" height="945"&gt;&lt;/a&gt;&lt;br&gt;
&lt;sup&gt;&lt;em&gt;Hey presto! [Photo by &lt;a href="https://google.com/"&gt;Google&lt;/a&gt;.]&lt;/em&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Special case for documents: software code
&lt;/h4&gt;

&lt;p&gt;These document-syncing services aren't the best solution for all types of documents. Most software developers are familiar with version-control software like &lt;code&gt;git&lt;/code&gt; that are used to keep track of changes to their code, often with remote servers such as those at &lt;a href="https://github.com/"&gt;GitHub&lt;/a&gt;. This allows for a rapid restore of code to a new machine.&lt;/p&gt;

&lt;p&gt;I make note of this special case because one flaw in version-control software is that it's easy to forget that you have local changes that are not yet synced to the remote repository. I use the &lt;a href="https://github.com/brandon-rhodes/uncommitted"&gt;uncommitted&lt;/a&gt; tool to find these changes across my machine.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--x3ysrZu1--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/v5tb6g3zzc686g7thy43.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--x3ysrZu1--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/v5tb6g3zzc686g7thy43.gif" alt="Demo of uncommitted" width="800" height="400"&gt;&lt;/a&gt;&lt;br&gt;
&lt;sup&gt;&lt;em&gt;Demo of uncommitted showing local un-synced changes. [Generated using &lt;a href="https://github.com/charmbracelet/vhs"&gt;vhs&lt;/a&gt;.]&lt;/em&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  GUI and CLI Applications
&lt;/h3&gt;

&lt;p&gt;As a Data Scientist, I rely on my machine having installed a long list of applications, both the Graphical User Interface (GUI) and the Command Line Interface (CLI) kind.&lt;/p&gt;

&lt;p&gt;While I could try to manually install those applications I remember onto a new machine, most of the time I would likely not remember a given application until I need it, and then I would have to wait until I find the installer and install it.&lt;/p&gt;

&lt;p&gt;Thankfully I don't have to rely on my memory for this. I use &lt;a href="https://brew.sh/"&gt;Homebrew&lt;/a&gt;, the 'missing package manager' for macOS and Linux, to install most of the applications I need. Previously I also used it produce a &lt;a href="https://github.com/Homebrew/homebrew-bundle#usage"&gt;Brewfile&lt;/a&gt;,&lt;br&gt;
a list of installed applications that I kept as a text file under version control using git. On a new machine, I could download this list, and have Homebrew processes it in the background to install all the tools I need while I keep working. Nowadays I use Homebrew in combination with &lt;a href="https://www.ansible.com/"&gt;Ansible&lt;/a&gt; playbooks – more on this below.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--XEcY0xTa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ypgkbmadywmjwnvhq7po.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--XEcY0xTa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ypgkbmadywmjwnvhq7po.gif" alt="Demo of brew" width="800" height="400"&gt;&lt;/a&gt;&lt;br&gt;
&lt;sup&gt;&lt;em&gt;Demo of brew installing applications via the command line.&lt;/em&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Special case for applications: software code
&lt;/h4&gt;

&lt;p&gt;Another special mention here for software developers. I highly recommend &lt;a href="https://www.docker.com/"&gt;Docker&lt;/a&gt; to share a development environment for software projects. Rather than having each developer carefully curate a combination of operating-system (OS) versions and language packages to make your software &lt;a href="https://blog.codinghorror.com/the-works-on-my-machine-certification-program/"&gt;work on their machine&lt;/a&gt;, with Docker you can run one command to build a virtual machine that will run your application anywhere.&lt;/p&gt;

&lt;p&gt;An extra benefit of using Docker is that setting up your development environment on a new machine is as easy as running the same Docker command you've been using all along.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--h7KY2_XB--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/olewtl6qx73oy6kdtr8x.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--h7KY2_XB--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/olewtl6qx73oy6kdtr8x.gif" alt="Demo of docker" width="800" height="400"&gt;&lt;/a&gt;&lt;br&gt;
&lt;sup&gt;&lt;em&gt;Demo of docker running application in shared environments.&lt;/em&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Dotfiles
&lt;/h3&gt;

&lt;p&gt;Many applications (both the GUI and CLI type, and terminal shells in particular) use &lt;a href="https://missing.csail.mit.edu/2019/dotfiles/"&gt;dotfiles&lt;/a&gt; to store configuration details. These plain-text files are called 'dotfiles' because their filenames start with a '.' (!). You may not have noticed them because most OSs will hide them by default. Historically they have been located in your home directory &lt;code&gt;~/&lt;/code&gt;, but are often now found under &lt;code&gt;~/.config/&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;One of the quickest ways to feel in a foreign land on a new laptop is missing these configurations. Thankfully, an easy solution is to store and update these files in a GitHub repo, such as &lt;a href="https://github.com/proinsias/dotfiles"&gt;proinsias/dotfiles&lt;/a&gt;. Then to make any new environment more like your existing environment, you clone that dotfiles repo and run a command like &lt;a href="https://www.gnu.org/software/stow/manual/stow.html"&gt;stow&lt;/a&gt; to setup the files in the right locations.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--3-qmyqj---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qgh69f7g9b8r11oyvt70.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--3-qmyqj---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qgh69f7g9b8r11oyvt70.gif" alt="Demo of stow" width="800" height="400"&gt;&lt;/a&gt;&lt;br&gt;
&lt;sup&gt;&lt;em&gt;Demo of stow setting up my dotfiles.&lt;/em&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  System Configuration
&lt;/h3&gt;

&lt;p&gt;A common characteristic of most of the above solutions is the reliance upon text files to represent the list of requirements you want to install upon your machine, whether it be a &lt;code&gt;Brewfile&lt;/code&gt;, a &lt;code&gt;Dockerfile&lt;/code&gt;, or a set of &lt;code&gt;dotfiles&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;This is the key idea to managing "cattle" – representing your &lt;a href="https://en.wikipedia.org/wiki/Infrastructure_as_code"&gt;"infrastructure as code"&lt;/a&gt;, and has spawned many useful tools like &lt;a href="https://www.ansible.com/"&gt;Ansible&lt;/a&gt; and &lt;a href="https://www.terraform.io/"&gt;Terraform&lt;/a&gt; that are used to manage massive networks of easily replaced servers.&lt;/p&gt;

&lt;p&gt;The final step in my process was to realize that I didn't have to leave all these cool tools to my DevOps colleagues. Several enterprising developers had posted examples of using Ansible playbooks to save the system configuration of their (typically macOS) laptops. I ended up creating my own &lt;a href="https://github.com/proinsias/mac-playbook"&gt;set of playbooks&lt;/a&gt; that I can use in future to setup a new macOS or Linux laptop as follows:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Install an OS-specific list of GUI and CLI applications using &lt;code&gt;homebrew&lt;/code&gt; (both OSs), &lt;a href="https://github.com/mas-cli/mas"&gt;mas&lt;/a&gt; (macOS only) and &lt;code&gt;apt&lt;/code&gt; (Linux only).&lt;/li&gt;
&lt;li&gt;Install a list of python-based utilities to their own virtual environments using &lt;a href="https://pypa.github.io/pipx/"&gt;pipx&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Globally install a list of &lt;a href="https://www.ruby-lang.org/"&gt;ruby&lt;/a&gt; packages.&lt;/li&gt;
&lt;li&gt;Globally install a list of &lt;a href="https://nodejs.org/"&gt;nodejs&lt;/a&gt; packages.&lt;/li&gt;
&lt;li&gt;Set various macOS system configurations.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Testing
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;Make sure to test your disaster recovery plan.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Whichever recovery plan you end up picking, you must test your process &lt;em&gt;before&lt;/em&gt; disaster strikes.&lt;/p&gt;

&lt;p&gt;I do this by keeping most of my settings across my work and home computers synced using Ansible. I run my Ansible playbook daily automatically, and review any errors that crop up. I also test the Ansible playbook via a GitHub Actions &lt;a href="https://github.com/proinsias/mac-playbook/blob/master/.github/workflows/ci.yml"&gt;workflow&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;So there you have it. My personal disaster recovery plan. I hope it helps you recover faster the next time gremlins strike. Please let me know if you have your own tips via the comments!&lt;/p&gt;

</description>
      <category>backup</category>
      <category>disaster</category>
      <category>laptop</category>
      <category>recovery</category>
    </item>
    <item>
      <title>Verifying my OpenPGP key</title>
      <dc:creator>Francis T. O'Donovan</dc:creator>
      <pubDate>Sun, 06 Nov 2022 05:13:26 +0000</pubDate>
      <link>https://dev.to/proinsias/verifying-my-openpgp-key-jfn</link>
      <guid>https://dev.to/proinsias/verifying-my-openpgp-key-jfn</guid>
      <description>&lt;p&gt;This is an OpenPGP proof that connects my OpenPGP key to this dev.to account.&lt;/p&gt;

&lt;p&gt;For details check out &lt;a href="https://docs.keyoxide.org/advanced/openpgp-proofs/"&gt;https://docs.keyoxide.org/advanced/openpgp-proofs/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;[Verifying my OpenPGP key: openpgp4fpr:74b07ae5ffb55bfc2fb8b25e8dbe5f9a6519d396]&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
