Three habits

Install once, update regularly, back up every day

1 Installoncethe operating system,its drivers and the programsor the machine cannot be used2 Updateregularly, for as long as it is usedfixes for faultsand for security holesor a known hole stays open3 Back upevery daya copy of the data,kept somewhere elseor one failure loses the workKeeping a computer useful takes three habits: install it properly, keep it updated, and keep a copy of its data.The install happens once. Updates and backups never stop, which is why they are set to run by themselves.This lesson takes them in that order, then shows the ways back when something still goes wrong.

A machine needs an install, regular updates and a backup of its data.

Installing a system

What survives depends on how you install

BeforeAfterClean installerase the drive and start freshSystemProgramsFilesnewgonegoneIn-place upgradethe new version over the oldSystemProgramsFilesnewkeptkeptImage deploymentcopy one prepared drive to manySystemProgramsFilesnewstandardgoneWhat survives depends on how the system is installed, so back up before any of them.A clean install cures the most and keeps the least. An upgrade keeps everything, including old problems.An image gives fifty machines the same tested set-up in minutes each, started from a USB drive or overthe network (PXE boot).

A clean install erases. An upgrade keeps programs and files. An image makes machines identical.

Installing a system · Going deeper · 1 of 2

Partition, format, mount

One 1 TB drive, divided. Sizes to scale.Windows (C:) · 300 GBData (D:) · 699 GBEFI · 100 MBRecovery · 1 GBPartitiondivide the drive into partsGPT on anything modernFormatwrite an empty file systemNTFS, ext4, APFSMountattach it where it can be useda letter, or a folderA drive is partitioned, each partition is formatted, and each file system is mounted.A quick format writes only the empty file system; a full format also checks every block. Keeping data onits own partition lets the system be reinstalled without touching it. Windows does all three in DiskManagement; Linux uses fdisk, mkfs and mount.

Partition divides the drive. Format writes a file system. Mount makes it usable.

Installing a system · Going deeper · 2 of 2

After the install

1Driverschipset, graphics, network: nothing flagged in Device Manager2Updatesrun the updater until it finds nothing more3Protectionantivirus and firewall on, drive encryption turned on4Programsthe standard set, from trusted sources5Datarestore the user's files and sign in to their accounts6Recordsjoin the domain, label the machine, update the inventoryThe install is the start. A machine is finished when it is patched, protected and recorded.The order matters: network drivers before updates, updates before programs, protection before themachine meets the internet for long.

Drivers, then updates, then protection, then programs and data.

Updating

Updates go out in rings

One update, 500 machines. Bars to scale.Ring 1: the IT team5 machines · day 0Ring 2: a pilot group50 machines · day 3Ring 3: everyone else445 machines · day 10✓a faulty update caught in ring 1 has reached 5 machines✗sent to everyone at once, it reaches 500Updates go out in rings, so a bad one is caught while it is still small.Security updates close holes that are already public, so the wait is days, not months. Before any updatemake sure there is a way back: a restore point, a snapshot or a backup. Windows can also roll back onedriver from Device Manager, or uninstall one update.

Test on a few, then a pilot group, then everyone.

Why back up

Data is lost in four ways

The drive failsit wears out or breaksSomeone slipsdeleted or saved overMalwarefiles locked or destroyedThe machine is gonetheft, fire or floodA second disk in the same machine✓saved✗lost✗lost✗lostA copy kept somewhere else✓saved✓saved✓saved✓savedData is lost in four ways, and only a separate copy, kept somewhere else, survives all four.A second disk in the same machine covers a dead drive and nothing more: a deleted file is deleted on both.That is the reasoning behind the rule on the next page.

Drives fail, people slip, malware strikes and machines vanish. Only a separate copy covers all four.

The 3-2-1 rule

3 copies, 2 kinds of storage, 1 somewhere else

Does this copy survive?A file deleted by mistakeThe laptop's drive diesFire, flood or theft at the officeRansomware on the networkCopy 1the original✗✗✗✗Copy 2a backup drive in the office✓✓✗✗Copy 3somewhere else✓✓✓✓3 copies, on 2 kinds of storage, with 1 somewhere else.Each copy covers a failure the others cannot. The off-site copy is the only one that survives thebuilding, and it survives ransomware only if it is offline or cannot be altered. A backup that has neverbeen restored is a hope, not a backup: test it.

Three copies, on two kinds of storage, one off-site.

The 3-2-1 rule · Going deeper · 1 of 2

Backup types: incremental saves space, differential saves time

Incrementalwhat changed since thelast backup of any kindDifferentialwhat changed since thelast full backupSunMonTueWedThuFriSatGigabytes written each night, to scale10010055555551015202530Stored · to restore130 GB7 sets205 GB2 setsIncremental saves space every night. Differential saves time on the day you restore.Here a full backup is 100 GB and 5 GB changes each day. A week of incrementals stores 130 GB, but a restoreneeds all seven sets, in order. Differentials store 205 GB and need only two: the full and the latest.A synthetic full merges the pieces into a new full backup without copying everything again.

Incremental: changes since the last backup. Differential: changes since the last full.

The 3-2-1 rule · Going deeper · 2 of 2

The backup plan

The questionWhat it decidesIts nameHow much work may be lost?sets how often: hourly, nightlythe recovery pointHow long may it be down?sets the method: an image restores fastestthe recovery timeHow far back must we reach?dailies for a week, weeklies for a month, monthlies for a yeargrandfather-father-sonWhere are the copies?on-site for speed, off-site for disasters3-2-1Does it work?restore one file monthly and one whole system yearlytestingA backup plan is five answers, written down before anything fails.Backups run on a schedule without anyone remembering, report when they fail, and are read by someone.Most lost data had a backup job that had quietly stopped months before.

How much can be lost, how long can it take, and has a restore been tested?

Ways back

Each safety net brings back a different thing

Safety netWhat it brings backSystem filesProgramsYour filesAfter a dead driveRestore pointSystem Restore✓✓✗✗File backupFile History, Time Machine✗✗✓✓System imagea copy of the whole drive✓✓✓✓Cloud syncOneDrive, iCloud Drive✗✗✓✓Each safety net brings back a different thing. Know which you have before you need it.A restore point undoes a bad driver or update without touching documents. Only a file backup or an imagebrings documents back. Cloud sync is not a backup: a file deleted or encrypted on the laptop is deletedor encrypted in the cloud moments later.

A restore point saves the system. A file backup saves documents. An image saves both.

Lesson complete

You finished “Installing, updating and backing up”

Nicely done.

Open in a new tab