How to Set Up Automated Backups to an External USB Drive on a Schedule to Protect Against Ransomware
Summary
This guide helps you troubleshoot and resolve: How to Set Up Automated Backups to an External USB Drive on a Schedule to Protect Against Ransomware. Follow the steps below to fix the issue.
Common Causes
Important Warning About Ransomware Protection
Disconnecting an external USB drive between scheduled backups provides limited protection against ransomware. This method only helps if the drive is physically disconnected while a ransomware infection is active on your computer. Because automated scheduling requires the drive to be connected at backup time, there is always a window where the drive is exposed to threats on the host machine.
A single local USB drive is not a complete ransomware strategy. For genuine resilience, follow the 3-2-1 backup rule: keep at least three copies of your data, on two different media types, with one copy stored offsite. Consider supplementing this guide with an offline or cloud-based backup solution that is not permanently accessible from your network.
Before You Begin
- An external USB drive with enough free space for your business data.
- Administrator access to your computer.
- A consistent backup schedule (daily or weekly is recommended for most small businesses).
- A plan to connect the drive only during your scheduled backup window and disconnect it immediately after the backup completes.
Encrypting Your USB Drive
Encrypt the USB drive before configuring backups. If the drive is lost or stolen, encryption prevents unauthorised access to your business data.
Windows: Enable BitLocker
- Connect the external USB drive to your PC.
- Open File Explorer, right-click the USB drive, and select Turn on BitLocker.
- Choose Use a password to unlock the drive and enter a strong password.
- Save your recovery key to your Microsoft account, print it, or save it to a secure location that is not on the USB drive.
- Select Encrypt used disk space only (faster for new drives) or Encrypt entire drive (slower but more thorough for used drives).
- Select Start encrypting and wait for the process to complete.
macOS: Encrypt with Disk Utility
- Connect the external USB drive to your Mac.
- Open Disk Utility (Applications > Utilities).
- Select the external drive from the sidebar.
- Select Erase.
- Choose a format such as APFS (Encrypted) or Mac OS Extended (Journaled, Encrypted).
- Enter a strong password when prompted and store it securely.
- Select Erase to format and encrypt the drive.
Windows: Scheduled Backups with File History
Windows File History can automatically back up your personal folders to an external drive on a schedule. Steps differ between Windows 10 and Windows 11.
Windows 10
Step 1: Connect your external USB drive
- Plug your external USB drive into an available USB port.
- If BitLocker is enabled, unlock the drive when prompted.
- Wait for Windows to recognise the drive and assign it a drive letter.
Step 2: Open Backup settings
- Select the Start button, then select Settings.
- Select Update & Security, then select Backup from the left-hand menu.
- Under Back up using File History, select Add a drive.
- Choose your encrypted external USB drive from the list.
Step 3: Configure backup schedule and folders
- Select More options under Back up using File History.
- Under Back up my files, choose your preferred frequency (for example, Every hour or Daily).
- Under Keep my backups, choose how long to retain versions (for example, Forever or Until space is needed).
- Review the folders listed under Back up these folders. Add or remove folders as needed using Add a folder.
- Select Back up now to run the first backup immediately.
Step 4: Disconnect the drive after backup completes
- Wait for the backup to finish.
- Select the Safely Remove Hardware icon in the system tray.
- Choose your external drive and wait for the confirmation message before unplugging it.
Windows 11
Step 1: Connect your external USB drive
- Plug your external USB drive into an available USB port.
- If BitLocker is enabled, unlock the drive when prompted.
- Wait for Windows to recognise the drive and assign it a drive letter.
Step 2: Open Backup settings
- Select the Start button, then select Settings.
- Select System, then select Storage.
- Scroll down and select Advanced storage settings, then select Backup options.
- Alternatively, open Windows Backup from the Start menu and follow the prompts to add your external drive.
- Under Back up using File History, select Add a drive.
- Choose your encrypted external USB drive from the list.
Step 3: Configure backup schedule and folders
- Select More options under Back up using File History.
- Under Back up my files, choose your preferred frequency (for example, Every hour or Daily).
- Under Keep my backups, choose how long to retain versions (for example, Forever or Until space is needed).
- Review the folders listed under Back up these folders. Add or remove folders as needed using Add a folder.
- Select Back up now to run the first backup immediately.
Step 4: Disconnect the drive after backup completes
- Wait for the backup to finish.
- Select the Safely Remove Hardware icon in the system tray.
- Choose your external drive and wait for the confirmation message before unplugging it.
macOS: Scheduled Backups with Time Machine
Time Machine on macOS can back up your Mac to an external drive automatically. Steps differ between macOS Ventura and later, and earlier versions.
macOS Ventura and Later
Step 1: Connect your external USB drive
- Plug your external USB drive into your Mac.
- If the drive is encrypted, enter the password when prompted to unlock it.
Step 2: Open Time Machine settings
- Select the Apple menu (), then select System Settings.
- Select General in the sidebar, then select Time Machine.
Step 3: Select backup disk
- Select Add Backup Disk or Select Disk.
- Choose your external USB drive from the list.
- Select Set Up Disk.
- If asked to erase the drive, confirm only if the drive does not contain data you need to keep.
Step 4: Enable automatic backups
- Ensure Back Up Automatically is switched on.
- Time Machine will now back up hourly by default when the drive is connected.
Step 5: Disconnect the drive after backup completes
- Open Finder.
- Select the eject icon next to your external drive in the sidebar, or drag the drive icon to the Trash.
- Unplug the drive once it has disappeared from the desktop.
macOS Monterey and Earlier
Step 1: Connect your external USB drive
- Plug your external USB drive into your Mac.
- If the drive is encrypted, enter the password when prompted to unlock it.
Step 2: Open Time Machine settings
- Select the Apple menu (), then select System Preferences.
- Select Time Machine.
Step 3: Select backup disk
- Select Select Disk.
- Choose your external USB drive from the list.
- Select Use Disk.
- If asked to erase the drive, confirm only if the drive does not contain data you need to keep.
Step 4: Enable automatic backups
- Ensure Back Up Automatically is checked.
- Time Machine will now back up hourly by default when the drive is connected.
Step 5: Disconnect the drive after backup completes
- Open Finder.
- Select the eject icon next to your external drive in the sidebar, or drag the drive icon to the Trash.
- Unplug the drive once it has disappeared from the desktop.
Verifying Backups and Performing Test Restores
A backup is not reliable until you have confirmed you can restore from it. Schedule a test restore at least once per quarter.
Windows: Test a File History Restore
- Connect your external USB drive and unlock it if BitLocker is enabled.
- Open Settings > Update & Security > Backup (Windows 10) or System > Storage > Advanced storage settings > Backup options (Windows 11).
- Select More options under Back up using File History.
- Scroll to the bottom and select Restore files from a current backup.
- Browse to a folder or file, select a version from the timeline, and select the green Restore button.
- Verify the restored file opens correctly.
macOS: Test a Time Machine Restore
- Connect your external USB drive and unlock it if encrypted.
- Open Finder and navigate to the folder containing the file you want to restore.
- Select the Time Machine icon in the menu bar and choose Enter Time Machine.
- Use the timeline on the right to browse to a previous date.
- Select the file or folder and select Restore.
- Verify the restored file opens correctly.
Troubleshooting
Encrypted drive unlock failures
- Ensure you are entering the correct BitLocker password (Windows) or Disk Utility encryption password (macOS).
- If you forget the password, use your BitLocker recovery key (Windows) or recovery key created during Disk Utility encryption (macOS).
- Store recovery keys in a secure location separate from the USB drive.
Backup drive not recognised
- Try a different USB port on your computer.
- Restart your computer with the drive connected.
- Check that the drive is formatted correctly (NTFS or exFAT for Windows; APFS or Mac OS Extended (Journaled) for macOS).
- Ensure the drive has been unlocked if encryption is enabled.
Backup fails or runs out of space
- Delete older backups or unnecessary files from the external drive.
- Reduce the number of folders included in the backup.
- Use a larger capacity external drive.
Scheduled backup did not run
- Ensure the computer was powered on and not in sleep mode at the scheduled time.
- Confirm the external drive was connected and unlocked during the backup window.
- Check backup logs in File History (Windows) or Time Machine (macOS) for error details.
- If the drive was disconnected, the job is missed; File History and Time Machine do not queue missed scheduled backups for later execution.
Still Having Issues?
💻 Open a Ticket