Once your files have been recovered, one step is often rushed: putting them back into service. Yet this is where the reliability of what you found, and the soundness of what follows, are decided. A copy made too quickly onto the original disk, onto a drive that is too small, or without any checks can spoil the result of a successful recovery. This article gives a step-by-step method, valid for a workstation as well as for a rebuilt NAS or server.

The main steps, in order

The principle fits in one sentence: never work on the only copy of your data. The recovered files arrive on a medium (a disk, a USB drive, a download area). You first make a working copy of them, you check that copy, you restore it to the new system, and you put a backup in place before returning to normal use. Each step starts only when the previous one has been validated.

Diagram of five stacked steps linked by arrows: 1 recovery medium kept intact and read-only, 2 working copy on a second disk, 3 verification (checksums, opening sample files), 4 restore to the new system (new PC or rebuilt NAS), 5 3-2-1 backup set up before resuming normal use. A padlock on the first step shows that the original medium is never written to.

Check what you received before touching anything

Start with an inventory. Compare the volume received and the number of files with what you expected, using the file list or report that comes with the recovery, if there is one. Look for folders that seem empty or incomplete, generic names (files renamed by number) and zero-byte files. A recovery can be partial: files whose data is partly unrecoverable are a normal case, not something you did wrong.

During this phase, open a few files of different types (a document, an image, a spreadsheet, a database if you have one). A file can have the right size and the right name without its content being usable: only opening it confirms this. Note what is missing or unreadable, so that you can report it while the recovery case is still open.

Never write to the original medium

The failed disk or NAS, and the medium that holds the recovered files, must receive no writes at all: no formatting, no automatic file system repair, no system reinstallation on them, no tidying up files in place. As long as these media are intact, they remain your safety net: if a copy goes wrong, you start again from the source. Connect them read-only if possible, and keep them safe until the procedure is finished. They can be reused only once the data has been restored, checked and backed up elsewhere.

Prepare a new, healthy and sufficient medium

  • A reliable medium. Reusing the disk that just failed, or a disk of the same batch and age, is the worst choice. Prefer a new medium, or one whose condition has been checked (SMART indicators, surface test).
  • Comfortable capacity. Allow for the restored data, plus the working copy while you verify, plus future growth. A medium filled to the brim slows down and weakens what comes next.
  • A suitable file system. It must fit the use (Windows PC, Mac, NAS) and the size of your files. The choice will not be the same for a hard drive or a NAS.
  • A system that is ready. Operating system installed and up to date, antivirus active, business software reinstalled before you put back the data that depends on it.

Copy in stages, with a log

Avoid one big drag-and-drop of everything: it fails at the first unreadable file and does not tell you what was copied. Copy in batches (one top-level folder at a time, starting with the most important data) using a tool that produces a report.

On Windows, robocopy copies data, attributes and timestamps by default (the /COPY:DAT option) and writes a log with /LOG. One point to watch: by default it retries a failed file a million times, 30 seconds apart. On a copy that contains an unreadable file, limit this with /R:1 /W:1. The /MIR and /PURGE options delete from the destination whatever does not exist in the source: do not use them for a first restore. The exit codes help you spot a problem: 8 or higher means at least one file was not copied.

On Linux and macOS, rsync does the same job. The -a option (equivalent to -rlptgoD) preserves the folder tree, links, permissions and dates. -n runs a dry run that changes nothing, and -i itemizes the changes file by file. As with robocopy, the --delete option, which removes from the destination whatever is not in the source, has no place in a first copy.

GoalWindows (robocopy)Linux / macOS (rsync)
Copy with a reportrobocopy SOURCE DEST /E /COPY:DAT /R:1 /W:1 /LOG:copy.logrsync -a --log-file=copy.log SOURCE/ DEST/
Simulate without writing/L (list only)-n -i

Check the integrity of the copied files

A copy that finished without an error message is not a verified copy. Three checks complement each other.

  • The count. Same number of files and folders, same total size, between source and destination.
  • The checksum. A hash summarizes the content of a file: if a single character changes, the hash changes. On Windows, the PowerShell command Get-FileHash uses SHA256 by default; on Linux, sha256sum produces the same family of hashes and its -c option reads a checksum file to verify it. Compare the hashes of the source and the destination. With rsync, the --checksum option compares files of the same size by their checksum, at the cost of reading both sides in full, so it is slower.
  • Opening the files. An identical hash proves that the copy is faithful to the source, not that the source was sound: a partially recovered file has the same hash on both sides. So open a representative sample of each file type, and all the critical files.
Visual integrity checklist in five ticked lines: same number of files and same volume, copy log without errors, identical SHA-256 hashes for source and destination, a sample of each file type opens correctly, all critical files opened. A legend distinguishes the dark badge 'Validated' (check passed) from the orange badge 'To report' (missing or unreadable).

Rebuild the folder tree and reconnect your applications

Recovered files are sometimes organized differently from the original: some original names lost, folders grouped by type. Take the time to place them in a clear structure rather than putting everything back in a heap: one folder per activity or project, explicit names, a “to sort” folder for files without an identifiable name. Sort by copying, not moving, until the backup is in place.

Some data cannot be reintegrated by dragging it into a folder: it has to be reopened from the software that uses it. The most common example is mail archives. In classic Outlook, a .pst data file is opened through File, Open & Export, then Open Outlook Data File, as described in Microsoft’s documentation. In new Outlook, the path goes through settings, in the data files section, and requires classic Outlook to be installed too. The same logic applies to databases, photo catalogues, password vaults or the profiles of other mail clients: install the software first, then attach the data to it, following the publisher’s documentation.

The case of a rebuilt NAS or RAID

When the storage server has been rebuilt from scratch, the restore follows the same logic, with a few particularities. The new volume must be created and checked before it receives anything: disks in good condition, a RAID level chosen knowingly, a file system ready. Then restore the shared folders in order of importance, and recreate accounts, access rights and shares: permissions do not always come back with the files. If you had scheduled tasks, snapshots or automatic backups, re-enable them after the restore, not during it.

Keep in mind that a RAID protects against the failure of a disk, not against error, corruption or disaster: this is why backups remain essential, including on a RAID server. Our article on rebuilding an array helps you prepare this step.

The case of a new computer

On a new computer, install and update the system, then your software, before putting the data back. Restore first what you need to work (current documents, mail, passwords), then the rest in batches. Check your data as you go, rather than once at the end, and keep the working copy until you have used the computer normally for a few days: a missing file is often discovered in use.

Set up a 3-2-1 backup before resuming normal use

This is the step that prevents going through the incident again. As long as the data exists in only one place, it depends on a single component. CISA, the US cybersecurity agency, summarizes the 3-2-1 rule this way: three copies of an important file (the original and two backups), on two different types of media, with one copy offsite, for example outside your home or premises. Our article on the 3-2-1 backup rule details how to put it into practice.

Once the backup is configured, run it a first time, then test a restore: pick a few files, restore them elsewhere and open them. A backup that has never been restored remains a hypothesis. Then schedule regular checks, and only then resume normal use.

If files are missing after the verification, or if the new medium behaves unusually from the first copies, it is better to stop and ask for advice before going further: keep the original medium and the working copies as they are, since they are the basis for a new examination.