A tested data backup and recovery strategy will pay handsome dividends should the need arise. Avoiding data loss, costly downtime and recovery after a system failure.

web design

Avoid Disaster with Computer Data Backup and Recovery Strategy

Developing a rigorously tested software backup and restore policy for your home and / or business is not a wish list item but an absolutely crucial necessity. Should hardware or software fail a well tested policy can save sleepless nights, unnecessary expenditure, and ensure minimum downtime.

You may sigh at the very thought of orchestrating backups but if ever the need arises to restore you will be very pleased you engaged. Even if the financial circumstances are not great the minimum expenditure should be on an external hard disk which have capacities of 3+ TB for around 100€.

Potential threats to your computing system come in both hardware and software forms. Likely sources of hardware failure are hard disks whether HDD or SSD. Software threats from malware, mail attachments, ransomware to name but a few.

Depending on use, worthy of consideration may be the use of a NAS (network attached storage). A NAS is a local network connected collection of hard disks (a private cloud). The great advantage is that storage is completely under owner control. Prices differ according to capacity and capability.

Relying on just one computer is living on the edge and can make life difficult. Suppose for a moment that there is failure on the only existing machine but parts are not easily available or repair has to be carried out by a non local service centre. Or repair out weighs the cost of a new machine! With just one option getting back up and running could take a few weeks.

Backup Location

Contiguous with a general policy is the question of where to put what data. There is no rule against multiple backups or overlapping data saved. The IT industry recommends three backups but at the very least two external hard disk and cloud for example. Data of a static nature and not likely to change, for instance pictures could be stored anywhere, locally on USB stick, external hard disk or remotely by cloud storage.

Cloud

Cloud storage depends on an a reliable internet connection and an equally reliable service. Services can evaporate, which leaves translating data to another location.

Local

Using local storage is going to be much cheaper in the long term with large amounts of data and you have complete control of the storage medium.

Types of Backup

There are three basic types of backup; Full, Incremental, and Differential.

Full: A full backup backs up all the files in the back up target ( Whole disk image ).

Incremental: An incremental backup backs up all files that have changed since the last backup.

Differential: A differential backup backs up all files that have changed since the last full backup eg Restic, Duplicati.

Restoring Data

How restoration is undertaken is going to depend on the method used to backup. Windows OneDrive provides a basic type of backup and stores files from Desktop, Documents and Pictures folders. Google Drive allows more choice of which folders can be backed up, which can be accessed installing Google Drive for PC .

These are blunt tools and do not allow refinement of files to be included or excluded in a repository. This is not a trivial point since needless avoidance of duplicated or unnecessarily stored data can be avoided.

Operating Systems

Common operating systems Windows, Linux and Mac, the methods of generating backups are generally different although there is software available for multiple systems.

Linux Backup and Restore methods

Linux has a rich eco system of tried and tested freely available backup software.

Timeshift Intended for system backup and restore although can be set to include home directory. Bear in mind the bigger the backup the longer it is going to take to restore. Timeshift requires a Linux file system to function so if you have purchased an external hard disk it will probably be formatted with NTFS. Here is an example of commands you could use to format ext4. Bear in mind this is just an example and you will probably need to adjust to your own setup.

Find the disk to re-format

sudo parted /dev/sda print devices
/dev/sda (1000GB)
/dev/sdb (500GB)

Create partition

sudo parted /dev/sbd mklabel gpt
sudo parted /dev/sdb mkpart primary 0% 100%

Format with ext4 file system

sudo mkfs.ext4 /dev/sdb

Deja Dup

Uses Duplicity which in turn uses rsync, comes ready installed on Ubuntu 20.04 LTS.

Grsync

Graphicl interface for rsync which has the basic options, other options can be added to the command line within ‘Additional options’ within the ‘Advanced options’ tab.

TAR

Terminal based but yet very popular on Unix/Linux systems, full options can be read in the manual here. Very popular with web masters because it can copy multiple directories into one file while still preserving directory structure.

Flavours of Linux often incorporate some of the more popular software with initial installation otherwise can be installed through ‘apt-get (software name) install’

Windows 10 /11

Windows systems are notoriously fickle quite apart from earlier apparitions like the ’blue screen of death’. Linux systems on the other hand have a reputation for solid performance. There is a good likelihood that a some stage your Windows system will misbehave in some way.

So, what does Windows 11 still does not have good backup system. Not much, it is possible to generate a system image though.

First up before doing anything obtain a copy of Windows.iso or create bootable USB this will help avoid big trouble. To do so head over to the Microsoft download page. Download the build tool and double click on the .exe file. A window opens to gather data and generate the requested USB or .iso file. To convert the .iso image to bootable disk download rufus. Rufus is not ‘installable’ as such, simply double click on the .exe file and give permission for the program to run.

Rufus set up screen rufus screen

Next, timewarp back to Windows 7 at Settings > Update & Security > Backup > Backup and Restore. There is creating the system image capability which is probably the most reliable between File History or Restore Point options. And the Recovery Drive will only generate a new system sans your personal files.

System images tend to be big so an external hard disk will be required. USB flash drives curry no favour but it is possible to use DVD writer if available.

A better solution in this instance would be Macrium Reflect 8 (see below)

MAC

Whether you are an Apple fan or not the clarity, simplicity and ease of use of ‘Time Machine’ has to be admired. Every Mac arrives with Time Machine installed and available for use straight out of the box. The decision that has to be made is where to place backups HDD, SDD, USB, Cloud etc much the same as other operating systems.

It is possible to use external (compatible) drive, USB stick, compatible NAS, another Mac computer or iDrive. If the external drive requires formatting the process is simple, note as with any format options all data will be lost.

Restoration is again made very easy, choices are individual files, multiple files or entire system.

For those looking for more specific backup, rsync (written for Unix systems and incorporated in Linux distributions) is already installed and grsync is available using brew.

Managing Backups

It is always good policy to backup files frequently but doing it manually can be time consuming and boring. And options like OneDrive don’t allow much flexibility unless the data is kept within one the the three folders copied (Desktop, Pictures, Documents).

Backups can be organised by specialised software Restic & Duplicati where backup targets can be chosen from local to multiple online storage services. Backup intervals and restore location can be set or changed as required.

References

Cloud Storage Providers
Provider  Comment
Icedrive  10GB free of charge, clean interface, encryption available, good download speeds
MEGA  20GB+ free, good interface, encrypted, catastrophic download speeds which can drop to 0 B/s
GoogleDrive  15GB capacity shared with all other services per Google account
BackblazeB2  First 10GB of storage free thereafter charges apply, can be integrated with backup and restore software eg restic, Duplicati.
Windows Related
Provider  Comment
OneDrive  Microsoft does offer OneDrive with a 5 GB free tier but space requirements for a system image may require further space for purchase at $19.99 p/a for 100 GB storage.
Reflect8  Macrium Reflect 8 billed as the best no-cost backup restore solution on the market.
EaseUS  No cost starter for full/differential/incremental backup and restore upgrade available at $19.95
AOMEI  Free to download and use includes backup, recovery, clone, and sync functions.
PARAGON  Free to download and use includes backup scheduling and selected recovery.
Acronis  Subscription based backup, restore, malware protection in three flavours ‘Essential’ @ $49.99 pa, ‘Advanced’ @ $89.99 pa, ‘Premium’ @ $124.99 pa.
Mac Related
Provider  Comment
iDrive  iDrive offers 5TB for $79.50 at the time of writing 90% discount was available for the first year i you are using and alternative backup service ( Carbonite, Mozy, CrashPlan, Backblaze, SOS Online Backup, Dropbox and Google Backup and Sync.)