Set Up Time Machine-Style Backups with Déjà Dup on elementary OS
A dependable backup routine is one of the simplest ways to protect an elementary OS computer from a failed SSD, a damaged laptop, accidental deletion, or a badly behaved system update. Déjà Dup provides a straightforward, graphical way to create encrypted, incremental backups that run on a schedule. Its workflow feels familiar to anyone who has used Time Machine, although it works differently under the hood.
Déjà Dup is well suited to elementary OS because it keeps the important controls visible without overwhelming new Linux users. You can back up personal folders to an external disk, network location, or supported online storage, then restore individual files or an entire home directory when needed. The most reliable setup combines a local backup drive with a second copy stored somewhere else.
What Déjà Dup Can And Cannot Do
Déjà Dup is a front end for the duplicity backup system. It compresses and encrypts your selected files, then stores a full backup together with later incremental changes. An incremental backup records what has changed since the previous backup, so daily runs are generally quicker and use less space than copying every file from scratch.
This makes Déjà Dup similar to Time Machine for personal files, but it is not a complete disk-imaging tool. It does not create a bootable clone of your elementary OS installation, preserve every partition, or provide a visual timeline of the entire system in the same way as Apple’s backup software. Your applications can normally be reinstalled, while documents, photos, browser profiles, SSH keys, and configuration files are the priority.
The backup is encrypted when you set a password. That password is essential: Déjà Dup cannot recover an encrypted archive if you lose it. Store the password in a trusted password manager, and keep a separate record somewhere safe. A backup that exists but cannot be decrypted is not a usable backup.
Install Déjà Dup On Elementary OS
Open AppCenter and search for Déjà Dup Backups. Check that the application is the familiar GNOME backup utility, then install it. AppCenter is the easiest route for most elementary OS users because it handles the package installation without requiring command-line work.
If the application is not available in AppCenter, open Terminal and run:
sudo apt update
sudo apt install deja-dup
Enter your account password when prompted. Linux does not display characters while you type a password in Terminal; this is normal. Once the installation completes, open the Applications menu and launch Backups or Déjà Dup.
Before configuring anything, connect the intended backup disk and wait for it to appear in Files. Give it a clear label such as Elementary Backup. A portable 1 TB or 2 TB drive is widely available through Australian retailers such as Officeworks, JB Hi-Fi, and local computer shops in Sydney, Melbourne, Brisbane, or Perth. A dedicated drive is preferable to using the disk for everyday file transfers.
Prepare The Backup Drive Carefully
For a drive used only with elementary OS, ext4 is usually the most suitable file system. It supports Linux permissions and handles a large collection of files reliably. Open Disks from the Applications menu, select the external drive, and make sure you have identified the correct device before formatting it. Formatting erases its contents.
If the drive must also work with Windows or macOS, exFAT is convenient, but it has limitations around Linux ownership and permissions. Déjà Dup can still use a compatible external volume, though a Linux-only ext4 drive is generally cleaner for a dedicated backup destination. Avoid storing the only copy of your personal files on a disk you are about to format.
An external disk should be disconnected or stored away when it is not backing up, especially if it is used for protection against ransomware or accidental deletion. For a desktop in an apartment in Melbourne or a home office in Adelaide, keeping the drive near the computer is convenient. It is sensible to unplug it when leaving the house or during severe weather, since electrical surges and storm damage can affect both the computer and the backup drive.
Choose Folders And A Storage Location
Launch Déjà Dup and select Backup Locations. Choose where backups should be stored, such as the mounted external drive. Déjà Dup may present the location through a folder picker, so select a dedicated directory on the backup disk rather than the drive’s top level if you also keep other data there.
Under Folders to Save, add the directories that contain irreplaceable information. The standard choice is your home folder, usually found at /home/your-username. This includes Documents, Downloads, Pictures, Music, Videos, and many application settings. If your home folder contains large game libraries, virtual machines, or temporary downloads, consider excluding those items to conserve space.
The Folders to Ignore area is useful for removing caches and disposable data. Common exclusions include the Trash, cache directories, and folders containing downloaded installers that can easily be obtained again. Do not exclude hidden folders automatically: some contain valuable application settings, browser profiles, email data, SSH configuration, or cryptocurrency wallet files. Review exclusions carefully before saving them.
A network destination can work well for a household server or NAS. Choose a local network location if Déjà Dup offers the required protocol, then test it while the computer is connected to your home network. Backups over an NBN connection to online storage may be practical, but the first upload can take many hours, particularly with photos and video.
Configure Encryption And Automatic Backups
When Déjà Dup asks for a backup password, create a long, unique passphrase. Avoid using your elementary OS login password if the backup is going to leave your home. Write the passphrase in a password manager and make sure you know how to retrieve it without relying on the computer being backed up.
Open the scheduling settings and enable automatic backups. A daily schedule is a sensible starting point for a laptop used for study, work, or personal records. Weekly backups may be enough for a lightly used home desktop, while people working on documents throughout the day may prefer a shorter interval if the option is available in their installed version.
Set a retention period that fits the size of the drive. Keeping backups for six months or a year gives you a useful recovery window, but old versions consume storage. Déjà Dup manages full and incremental backup sets, so do not delete individual archive files manually from the destination. Use its retention controls instead, because removing a single piece can make a later restore unusable.
Automatic backups require the destination to be available. A laptop will not back up to an unplugged USB drive, and a network backup cannot run while the computer is away from home. Connect the drive when returning from a trip to Canberra or regional New South Wales, allow the scheduled job to run, and check the backup status rather than assuming it completed.
Run The First Backup And Check Its Status
Start the first backup manually by selecting Back Up Now. The initial run can take much longer than later backups because Déjà Dup must read and encrypt every selected file. Keep the laptop connected to power, avoid disconnecting the drive, and leave the computer awake until the process finishes.
The amount of time depends on the number of files, the speed of the USB connection, and the destination. A home folder containing office documents may finish quickly, while a photo library from years of phones and cameras can take hours. On a typical Australian home connection, a local USB backup is usually much faster than uploading the same data through an internet service.
After completion, open the backup location in Files and confirm that Déjà Dup has created its backup data. Do not edit, rename, or rearrange the internal archive files. The useful test is a restore, not simply seeing files on the disk.
Keep an eye on notifications and the backup settings page. If the drive is full, disconnected, mounted read-only, or unavailable because of a changed network address, Déjà Dup may report an error. Resolve the issue and run another backup. A scheduled task is valuable only when the destination is regularly connected and its results are checked.
Restore Files When Something Goes Wrong
To recover a deleted or damaged file, open Déjà Dup and choose Restore. Select the backup location, enter the encryption password, and choose the date from which you want to recover the data. You can normally restore files to their original location or choose a temporary folder so you can inspect them first.
Restoring to a temporary location is safer when you are unsure which version is correct. For example, a spreadsheet overwritten last week can be recovered beside the current copy and compared before replacing anything. The same approach is useful for browser profiles and configuration files, where restoring an entire directory may overwrite newer settings.
If the elementary OS installation fails, reinstall the operating system first, install Déjà Dup again, and point it to the existing backup location. Restore your home directory and then reinstall the applications you used. Keep a separate list of essential programs, browser extensions, fonts, and hardware-specific tools because Déjà Dup backs up files, not a complete catalogue of installed packages.
A restore test shortly after setup can reveal an incorrect folder selection, a forgotten password, or a drive permission problem while the original files are still available. Create a small test folder containing a few sample files, back it up, delete the local copy, and restore it. This confirms that the complete process works from backup through recovery.
Build A Backup Routine That Survives Real Life
A single external drive protects against some failures, but it does not protect against theft, fire, water damage, or a mistake that is copied into every backup version. Follow a simple three-copy approach: keep the working files on the computer, maintain a local Déjà Dup backup, and store another encrypted copy at a different location.
The second copy could be another drive rotated between home and a trusted location, a NAS in a separate part of the house, or an online destination supported by your Déjà Dup installation. If a disk is kept at a family member’s home in Geelong or the Blue Mountains, label it clearly and make sure the encryption password is not stored with the drive.
Review the backup every month. Check that the external disk still mounts, that recent backup dates are appearing, and that there is sufficient free space. Every few months, perform a small restore. Replace ageing drives before they fail, and avoid treating a cheap USB disk as permanent equipment simply because it has worked so far.
For particularly important records, keep a second copy outside the computer and outside the home. Scanned identity documents, tax records, family photos, and work files may need stronger protection than ordinary downloads. Encryption, sensible retention, and an off-site copy matter more than choosing an elaborate backup system that is never maintained.
Déjà Dup gives elementary OS users a practical way to automate encrypted, incremental backups without learning a complex command-line workflow. Select meaningful folders, use a dedicated destination, protect the encryption password, and test restoration before you need it. The key point to remember is that a backup becomes dependable only when it runs regularly, exists in more than one place, and can be restored successfully.