You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
9.1 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<title>(POST) Taking Proper Backups</title>
<link rel="icon" type="image/x-icon" href="../images/favicon.webp">
<link rel='stylesheet' type='text/css' href="../style.css"> <link rel='stylesheet' href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" media="all">
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<a href="../"><div style="text-align:center"><img src="../images/sufyaan.webp"></div></a>
<hr/><p><a href="../">sf.cu</a> > <a style="color:#bd93f9" href="../blog/">Blog</a> > <a style="color:#bd93f9" href=".">Taking Proper Backups</a></p>
<h1><i class="fa fa-cloud-upload" aria-hidden="true"></i>Taking Proper Backups</h1>
<p style="font-size:110%"><strong><i class="fa fa-calendar" aria-hidden="true"></i>27 July 2023</strong></p><p style="font-size:110%"><i class="fa fa-clock-o" aria-hidden="true"></i><strong>5 min</strong><p style="font-size:110%"><i class="fa fa-arrow-right" aria-hidden="true"></i></strong><a style="color:#ff79c6" href="../blog/technology/"><i class="fa fa-code" aria-hidden="true"></i>Technology</a></p>
<p>Taking backups is crucial in every single context. There is simply no situation where the lack of backups was beneficial. Such situations are always detrimental to people. Backups are also important for businesses, especially ones which are responsible for the lives of people, like hospitals.</p>
<p>Taking backups prevents data loss due to software or hardware errors. Even accidents have a minimal impact if you have a backup. It allows businesses to keep growing instead of being worried about recovering crucial client data. For public services like hospitals, being hit with ransomware is an extremely difficult moment. If the ransom is not paid immediately, it can result in loss of human lives. This is why you either have backups or lose money.</p>
<p>Losing precious memories hurts. Backups prevent this gut-wrenching scenario from ever occurring. With many spectacular backup solutions being free or cheap, there is absolutely no reason to take backups. If you work with new computers and devices regularly, then taking backups makes it easy to migrate and install multiple instances on new devices. This is especially easy with Linux systems due to the simple dotfile method. It also provides version control. If you have old versions of documents and files, it is easy to refer to previous examples for future work.</p>
<p>If there is one thing that people love about backups, it is the peace of mind you get knowing that you have an extremely low chance of losing your important data.</p>
<p>It does not matter if you are a normal person or a massive business; you should spend time and money to back up your data properly.</p>
<h2><i class="fa fa-file-text" aria-hidden="true"></i>3-2-1 Backup Rule</h2>
<p>The 3-2-1 backup rule is a rule that many people recommend following to remember to take proper backups. Here is the meaning of each of the numbers:</p>
<ol>
<li><strong>Three Copies</strong>: The &quot;3&quot; in the rule means that you should at least three copies of your data. This includes your original data, so you should have at least your original data along with two other copies. The advantage of having these many copies is that it is the perfect balance of simplicity and redundancy.</li>
<li><strong>Two Different Media</strong>: The &quot;2&quot; in the rule means that you should have your backups on at least two different media types. This may include physical (external SSD, NAS) and digital (server you own, cloud storage) backups.</li>
<li><strong>One Off-site Copy</strong>: The &quot;1&quot; in the rule means that you should have at least one off-site copy. Off-site in this case means somewhere other than your main home or regular backup methods. This can be an encrypted external hard drive that you leave at your relative&#39;s house, for example.</li>
</ol>
<p>It is important to note that these rules are not a plan for everyone, and are instead meant as a base for your backup plans. The least important data that you own should at least be backed up using the base 3-2-1 backup plan.</p>
<h2><i class="fa fa-user-secret" aria-hidden="true"></i>Using Invasive Services (Drive, OneDrive, iCloud)</h2>
<p>When it comes to using Big Tech&#39;s invasive services, you have to be extremely careful since they do not respect your privacy at all. At the bare minimum, you should be encrypting the files you upload if they are even of a little importance to you.</p>
<p>A popular program for file and drive encryption is VeraCrypt. To learn how to use it in detail, <a href="https://yewtu.be/watch?v=cxo8xosH_TI">watch this video</a>. The overall process goes like this:</p>
<ol>
<li>Create a new encrypted file specifying the password and other details like total space.</li>
<li><strong>Save the password somewhere safe to not forget it.</strong></li>
<li>Unlock the file using your password.</li>
<li>Copy all your important files to it.</li>
<li>Unmount the file</li>
<li>Upload it wherever you want</li>
</ol>
<p>This makes it difficult to easily access your files from your phone or another device, but it is totally worth it for your privacy.</p>
<h2><i class="fa fa-money" aria-hidden="true"></i>Using Paid Services (Backblaze, Mega)</h2>
<p>Services like Mega allow you to pay for more storage, just like Drive, OneDrive or Dropbox. There are privacy concerns with the latter three, however. ProtonDrive is also a good option, but it has had some controversy due to the <a href="https://techcrunch.com/2021/09/06/protonmail-logged-ip-address-of-french-activist-after-order-by-swiss-authorities/">privacy concerns of ProtonMail</a>. However, I am comfortable recommending it.</p>
<p>BackBlaze is a backup program that is under the <a href="https://opensource.org/license/mit/">MIT licence</a>. It works really well for most of their customers, so I am comfortable recommending it.</p>
<h2><i class="fa fa-server" aria-hidden="true"></i>Using Owned Services (servers, syncing)</h2>
<p>When you are using services you own, you have to make sure that you verify the integrity of your files. File corruption can happen on every platform, but it is much better to verify your files on your server since there may be issues with your setup that causes file corruption.</p>
<p>It is also important to keep a separate drive or storage medium on your services if possible. If anything happens to your main system, it becomes really easy to just wipe the system and install a new one, knowing that your data is safe.</p>
<p>You can also use sync services like Syncthing for small files that you need synced within all of your devices. I use it to sync my password manager and personal notes. It is encrypted and open-source software and works extremely fast. It is so fast that by the time I save a file and open my phone, the file is already updated. This prevents conflicts.</p>
<h2><i class="fa fa-hdd-o" aria-hidden="true"></i>Taking Offline Backups</h2>
<p>If you are taking offline backups, you should be careful with encrypting your data if you need it. You should first assess whether you need encryption or not. If you live in an area with a lot of robberies, encrypt it, as a robber who is smart enough may steal your drive.</p>
<p>Make sure to get an external hard drive or SSD from a reputable company like <a href="https://www.westerndigital.com/products?filterByUseCaseName=Backups">Western Digital</a> or <a href="https://www.samsung.com/us/computing/memory-storage/portable-solid-state-drives/">Samsung</a>.</p>
<p>By buying a product from a reputable company, you get a reliable product that lasts a long time.</p>
<h2><i class="fa fa-clock-o" aria-hidden="true"></i>Maintaining Backups</h2>
<p>While it is important to back up your data, it is also important to maintain your backups. At the end of every month, check your backups to see if your files are still intact. If a specific backup medium keeps showing corruption in files, move it to another drive immediately, since they can fail at any time.</p>
<h2><i class="fa fa-book" aria-hidden="true"></i>Conclusion</h2>
<p>While it is important to take backups, it is also important to make sure you are taking them properly. Follow the 3-2-1 backup rule. If you are using invasive services, encrypt all of your files before uploading them using a trusted piece of software like VeraCrypt.</p>
<p>Try to use services that you own as much as possible, to be completely independent. Make sure to have offline backups.</p>
<p><a href="mailto:sufyaan@counterhawks.com?subject=Taking%20Proper%20Backups">>>> Reply To Me</a></p>
<p style="text-align:center;"><a href="../plaintext/" style="color:#bd93f9"><i class="fa fa-angle-double-left" aria-hidden="true"></i>Previous Post</a></p>
<hr/>
<footer>
<p class="footer-text"><a style="color:#bd93f9" href="../blog">blog</a> - <a style="color:#ffb86c" href="../about">about</a> - <a style="color:#f1fa8c" href="../portfolio">portfolio</a> - <a style="color:#ff5555" href="../links">links</a></p>
<p class="footer-text" style="font-size:80%"><a href="../">sufyaan.cyou</a></p><p class="footer-text" style="font-size:65%"><a style="color:#aaaaaa" href="../sitemap">Site Map</a></p>
</footer>