04 66 72 51 22

Some requested files were not restored

This page is intended for administrators who have launched a file restore and cannot find all the expected files. The restore completes, sometimes with no visible error, but certain files are missing or have not been replaced. This page explains the three possible causes and how to tell them apart. It applies to the BeBackup 7 agent.

Symptom

You encounter one of the following cases:

  • The restore completes with this message: Restauration terminée. … fichier(s) demandé(s) ne figuraient pas dans cette sauvegarde et n'ont pas été restaurés.
  • The restore completes with Restauration terminée., but a file in the original folder has not been replaced. It retains its current contents, damaged or modified.
  • The restore report contains one or more lines reading Erreur pendant la restauration du fichier "…": ….
  • The report contains a line reading Le fichier "…" n'a pas été restauré : version incomplète, aucune donnée restaurable….

Cause

The file did not exist on the selected date

A restore relates to a specific backup, and therefore to a date. A file created after that backup is not included in it. A file deleted before that backup is no longer in it. It is therefore not restored. The closing message gives the number of files concerned. The agent log gives one line per file.

The destination file appears to be identical

When a file already exists at the location where it is to be restored (whether in the original folders or in any other folder), the agent compares it with the backed-up version. If the size and the last modification date are identical, it considers that the file has not changed. It does not rewrite it.

This check is fast, but it has a limitation. A file that has been damaged without its date changing is not replaced. This occurs with disk corruption, or with software that modifies a file without updating its date.

The file could not be written

A line reading Erreur pendant la restauration du fichier "…" indicates a write failure on that file. The common causes are:

  • the file is open in another program on the machine;
  • the destination folder is not writable;
  • the destination disk is full.

The text after the colon gives the exact Windows message.

The file was mid-transfer

If a backup was interrupted while a file was being sent, that file is flagged as partially transferred. A partial version is never restored. The next backup resumes its transfer from where it stopped.

At restore time, there are two possibilities:

  • if an older, complete version of the file exists, it is that version which is restored, without the report mentioning it;
  • otherwise, the file is not restored, and the report contains the line Le fichier "…" n'a pas été restauré : version incomplète, aucune donnée restaurable….

If a restored file appears older than expected, check whether the selected backup completed normally.

Checks

Carry out these checks in order.

  1. Read the restore completion message. If it indicates a number of files that were not present in the backup, go to step 2. Otherwise, go to step 3.
  2. Check the date of the selected backup. Look for the file in a more recent or an older backup. The restore screen offers a search by file name.
  3. Open the restore report. Look for lines reading Erreur pendant la restauration du fichier. Each line names the file and gives the reason.
  4. If no error appears, compare the modification date of the file on disk with that of the backed-up version. If they are identical, the file was considered unchanged.

Resolution

Restore from another backup

Select a backup whose date corresponds to the state of the file you wish to recover, then relaunch the restore of that file.

Force the rewriting of a file that appears unchanged

Several methods are available.

  • Restore to another, empty folder. In the agent, select Restaurer dans un dossier spécifique; in the web interface, Restaurer dans un autre dossier. Specify an empty folder: as no file exists there, the file is always written. You can then compare it or copy it in place of the original.
  • In the web interface, the restore's Options tab also offers Ignorer les dates de modification.
  • Enable content checking. In the profile settings, open Paramètres supplémentaires..., tick Toujours vérifier l'intégrité de tous les fichiers, then save. The agent then compares the contents of each file rather than its date alone. The restore takes longer, but a damaged file is properly replaced.

The Toujours vérifier l'intégrité de tous les fichiers option also applies to backups for this profile. They become longer, as the agent re-reads the contents of the files. Untick it after the restore if you do not wish to retain this behaviour.

Resolve a write error

  • Close the program using the file, then relaunch the restore of that file.
  • Check the permissions on the destination folder. The agent writes under its service account.
  • Free up space on the destination disk.

If the problem persists

If a file does not appear in any backup even though it was part of the selection, check that it was not excluded by a profile filter. If the problem persists, contact BeBackup support. Please include:

  • the profile name and the date of the restored backup;
  • the full path of a missing file;
  • the restore report;
  • the agent service log, bbAgent-service.log.

BeBackup is backup built for IT service providers

Backup and restore of workstations, servers, virtual machines and Microsoft 365, encrypted at source with a key we do not hold, on the hosting of your choice.