Techub Knowledge Center
TechubKnowledge Center • Illustrated Guides • Troubleshooting

Describe the Linux task or exact error — for example, updates fail or a drive will not mount.

Backup, Recovery & Maintenance • Linux & Open Source

Back Up Linux Files & Personal Settings

Choose independent versioned storage and prove that the selected folders can be restored.

DifficultyIntermediate; owner or authorized administrator
Time20–45 minutes for checks; installation, backup or recovery can take longer
Guide typeIdentify, act & verify
GoalProtect files and verify the Linux task

Protect the data first. Work only on systems, files and accounts you own or are authorized to manage. Identify the exact distribution, device and path before changes. Keep independent verified backups and required recovery keys. Do not format wanted data, run unexplained privileged commands or apply broad permission resets. A filesystem repair needs its supported unmounted/offline procedure. Plan console access and downtime for remote or service changes.

First — identify the distribution, context and task

Record the distribution/release, desktop or server role, account, target path or device and exact error. These guides label Ubuntu and GNOME examples; other distributions, desktops and app versions use different controls. Use supported instructions for your actual release. Screenshots illustrate sample values and are not evidence of your system state. Read each command and its target before using it.

What you’ll need

Current distribution and application documentation · Authorized ordinary account and elevation only when needed · Private error/time notes · Independent backups and required keys · Correct device/path identity · Console and recovery plan for disruptive changes

Step 1 — List the data and workload scope

Include wanted documents, photos and relevant hidden settings such as .config where appropriate. Review mounted data, excluded folders and app-specific requirements. A personal-file backup is not automatically a complete system or running-database backup.

What to look for: The actual required folders and applications.

What the result means: Backing up only visible home-folder files can omit wanted settings or data elsewhere.

Step 2 — Choose independent protected storage

Use an appropriate external, remote or supported cloud destination separated from primary storage risks. Check capacity, access and retention needs. Another folder on the same disk, sync alone or a local snapshot is not independent backup protection.

GNOME’s Déjà Dup Storage example shows a configured cloud location and folder. Choose a destination you can still access after device loss and retain credentials and encryption information.
GNOME’s Déjà Dup Storage example shows a configured cloud location and folder. Choose a destination you can still access after device loss and retain credentials and encryption information.Image: GNOME / application maintainers · Source · View full-size image

What to look for: A destination usable if the primary device fails.

What the result means: An always-connected copy can still share account and security-incident risks.

Step 3 — Configure the installed supported backup app

The GNOME Backups/Déjà Dup examples illustrate personal-file backup. Your installed version may use a different interface or repository format. Select the correct destination and included/excluded folders using that version’s documentation. Do not alter repository internals manually.

GNOME’s Déjà Dup Folders example separates included folders from ignored folders such as Trash and Downloads. Review actual coverage; do not assume everything in your home folder is backed up.
GNOME’s Déjà Dup Folders example separates included folders from ignored folders such as Trash and Downloads. Review actual coverage; do not assume everything in your home folder is backed up.Image: GNOME / application maintainers · Source · View full-size image

What to look for: Intended sources and the actual independent destination.

What the result means: A backup tool cannot recover a folder it excludes.

Step 4 — Set schedule, retention and key protection

Choose frequency for the amount of work you can lose and versions for older recovery needs. Secure any backup password/key separately from the source device. Keep account recovery and restore tools available if the original system is gone.

What to look for: Useful dated versions and usable recovery material.

What the result means: Encrypted backup data without its required key may be unrecoverable.

Step 5 — Run and inspect the first backup

Allow the initial job to finish and read warnings or skipped files. Check the destination and latest saved version. Close apps or use their supported consistent-backup method for data that cannot safely be copied live.

GNOME’s Déjà Dup example shows backup schedule, latest run, folder scope and destination. Check your real configuration and test a restore; the illustrated Today status is not proof of your backup.
GNOME’s Déjà Dup example shows backup schedule, latest run, folder scope and destination. Check your real configuration and test a restore; the illustrated Today status is not proof of your backup.Image: GNOME / application maintainers · Source · View full-size image

What to look for: A completed recovery point of the intended scope.

What the result means: A schedule switch or app icon alone is not proof that files were backed up.

Step 6 — Restore a sample elsewhere

Use the supported restore interface to recover selected files to an alternate folder. Open them and check expected content, dates and required access. Test application/system recovery separately where needed, then monitor future jobs.

What to look for: A readable independent saved version.

What the result means: A successful file restore does not establish full machine or database recovery.

What did you find?
Only a same-disk copy existsAdd independent versioned protection.
Important folders are excludedCorrect scope and run a new backup.
Keys depend on the original deviceProvide secure independent recovery access.
A sample restore opens correctlyMonitor jobs and repeat appropriate recovery tests.
Distribution, desktop & application help

Use current official documentation for the exact distribution, release, desktop, filesystem, network manager and application. Ubuntu 26.04 installer examples are not universal Linux menus. GNOME app catalog screenshots illustrate the named app and may show a different version from the one installed.

Production services, encrypted storage, directory-managed users and unusual filesystem layouts need their responsible administrator and supported recovery procedure. Start with the exact error rather than a generic root command. Keep credentials, keys, private logs and backup contents out of public posts.

Parts & supplies — only if needed

Most initial checks use the supported tools already available. Buy a USB drive, backup destination or replacement hardware only when the task requires it, after checking exact hardware, capacity, power and distribution support.

Technical references

Techub’s troubleshooting guides are written in plain language and informed by manufacturer documentation. Features and procedures can vary by model. Before following model-specific steps, check the manufacturer’s latest instructions for your exact device.

Where can I find the files I want to back up?Déjà Dup Backups – Apps for GNOMEDéjà Dup Backups Help

Still need help?

Need help with a Linux task?

Bring the distribution/release, desktop or server context, exact error and checks already tried. Explain whether wanted data has a usable independent backup. Keep credentials, keys, private paths and diagnostic data out of public screenshots.

Visit Techub Services ↗