Skip to main content

Backups

Backups are a necessity in case of failure. Whether it is disk/drive failure or software failure, you want to have, well, backups in place to make sure you are able to get back on track. One of the most popular personal backup strategies is the 3-2-1 backup method. This snippet from Seagate says it well:

3 Copies of Data – Maintain three copies of data—the original, and at least two copies.

2 Different Media – Use two different media types for storage. This can help reduce any impact that may be attributable to one specific storage media type. It’s your decision as to which storage medium will contain the original data and which will contain any of the additional copies.

1 Copy Offsite – Keep one copy offsite to prevent the possibility of data loss due to a site-specific failure.

Using this format will help you get back up and running much faster than starting off from scratch. One thing to note with backups is that they work off of a proactive approach. This means you have to not only do this once, but maintain a healthy backup lifestyle in order to prevent data loss as much as you can. You can also have your own "3-2-1-#-#-#rule", where you add your own customization to the basic strategy. You do have to take the cost of the storage devices into mind, whether it is cloud storage providers or even for a hard drive purchase. Here is my current setup:

Storage LocationBackup Strategy Principle Covered
Local Storage (on PC)1 copy of data, 1 unique media
External Hard Drive1 copy of data
Cloud Storage1 copy of data, 1 unique media, 1 copy offsite
=3 copies of data, 2 unique media, 1 copy offsite

There are multiple ways of following the rule. Here are some of the other location suggestions:

  • Backups on disk (DAS, SAN, NAS and appliances)
  • Backups on tape
  • Backups on removable storage
  • Storage snapshots
  • External storage stored at a friends/relatives house
  • External storage stored in a bank vault

There are a lot of complications to consider for backups as well:

  • Weather
  • Potential Fire
  • Electric Static (while moving the device(s))
  • Home Invasion
  • Police Confescation
  • Drive/Disk Failure
  • etc.

Using the 3-2-1 is a way of being proactive and making your data be redundant in case of any of the aforementioned complications.

File System Formats

For data backups, and even for data storage in general, it is a good idea to take a look at the properties that a file system format gives you. Keeping these in mind can help you choose what format is better for your situation.

||New Technology File System (NTFS)|Apple File System (APFS)| MacOS Extended Journaled (HFS+) | exFAT |FAT32 (MS-DOS)| |---|---|---| -- | -- | --| --| |OS Readable|Windows (Native), macOS (Read-Only), Linux| macOS (Native)|macOS (Native)| Windows, macOS, Linux|Windows, macOS, Linux| |Journaling|X||X||| |Permissions Tracking|X|X|X||| |Max File Size|16TB Default (4KB Cluster Size), 2MB Cluster Size 8 PB|8 EB|slightly less than 8 EB|16 EB| 4GB| |Max Volume Size|16TB Default (4KB Cluster Size), 2MB Cluster Size 8 PB||slightly less than 8 EB|64 ZB |512 MB to 16 TB| ||||||| |Legend|X = yes|||||

Encryption

From the CIA triad (Confidentiality, Integrity, and Availability), encryption falls under the Confidentiality principle. This means that only authorized users are allowed to access/modify the data. In order to apply this principle to our data, we need to encrypt our data, so we can only see it. Although there are brute force attempts possible to find out a password, I will not go deep into that here. Here are the tools I use for encryption:

  • VeraCrypt (for Full Disk Encryption)
  • Cryptomator (for when I have to store files in the cloud)

There are more softwares located at: https://www.privacyguides.org/encryption/ if you are interested. For encryption passwords, make sure you use a password manager and create long passwords or create long passphrases. Here is an xkcd comic that might help clarify whether to choose password vs passphrase (if you have a password manager, then this might not matter too much):

Backup Lifestyle

After your data is encrypted, and your file system of choice is chosen, the last step is to actually backup the data. The first time you are backing up data, it usually is a full backup. "The primary advantage to performing a full backup during every operation is that a complete copy of all data is available with a single set of media" . This takes the longest time due to the amount of data being transferred. After the full backup is completed, the nest two backup operations become available to you: incremental backups and differential backups. Incremental backups will copy only the data that has changed since the last backup operation of any type . Incremental backups keep on adding files that are new or modified from the last backup. Incremental backups do not take into account if you previously did a full backup or an incremental backup. Differential backups on the other hand, do take that into account. A differential is similar to incremental in the first time it is run. "However, each time it is run afterwards, it will continue to copy all data changed since the previous full backup. Thus, it will store more backed up data than an incremental on subsequent operations, although typically far less than a full backup. Moreover, differential backups require more space and time to complete than incremental backups, although less than full backups". With that being said, here are some tools I use for backups:

Tools:

  • Déjà Dup Backups (for backing up Linux home directory files)
  • rsync (for syncing files from one folder to another)

Both of these work off of a incremental backup format, at least in my usage. After the backups are complete, you have to setup a cadence at which you will keep backing up on. For some it's daily, for others, its monthly. It is different for everybody.

Sources: