On 5/31/16 5:55 AM, Damien Gombault wrote:
Hi.
I use xfsdump to backup my systems.
Recently I had to use xfsrestore to restore a cumulative level 0 + level 1
dumps.
...
The level 1 restore shows many warnings :
xfsrestore: drive 0: examining media file 0
xfsrestore: drive 1: searching media for directory dump
xfsrestore: drive 1: reading directories
xfsrestore: drive 1: 11013 directories and 96122 entries processed
xfsrestore: drive 1: directory post-processing
xfsrestore: drive 1: WARNING: unable to rename dir orphanage/1677721775.4173752252 to dir
var/www/html/owncloud/data/F1000buv/files/Dossier personnel et source de
partage/E-Administration/08 SÃcuritÃ/08c Gestion des mots de passe - Keepass:
Aucun fichier ou dossier de ce type
xfsrestore: drive 1: WARNING: unable to rename dir orphanage/1711276202.4274102453
to dir var/www/html/owncloud/data/F1000buv/files_versions/Dossier personnel et
source de partage/E-Administration/02 Mise en oeuvre sOlÃre: Aucun fichier ou
dossier de ce type
xfsrestore: drive 1: WARNING: unable to rename dir
orphanage/1694499004.2655526171 to dir
var/www/html/owncloud/data/F1000buv/files_versions/Dossier personnel et source
de partage/E-Administration/07 Communication: Aucun fichier ou dossier de ce
type
xfsrestore: drive 1: WARNING: unable to rename dir orphanage/2365644069.2895542759 to dir
var/www/html/owncloud/data/F1000buv/files_versions/Dossier personnel et source de
partage/E-Administration/08 SÃcuritÃ/08c Gestion des mots de passe - Keepass:
Aucun fichier ou dossier de ce type
xfsrestore: drive 1: WARNING: unable to rename nondir orphanage/2902474338.2817943331 to
var/www/html/owncloud/data/F1000buv/files/Dossier personnel et source de
partage/E-Administration/09 Questionnaires communes solÃre/Dossiers des
collectivitÃs/37003 - Amboise/02-Compte rendu de rÃunions/Compte rendu rÃunion 3 mai
2016.odt: Aucun fichier ou dossier de ce type
Restating what I said in the bug you also filed:
In general, it would helpful to provide the error messages after setting
LANG=en_US - because your English is far better than my French. :)
A couple questions:
Some folders are not restored at the right place.
What does that mean? Were they restored to the wrong place, or were they not
restored at all?
Also, the "Aucun fichier ou dossier de ce type" errors indicate that files
could not be moved into a directory hierarchy, presumably because some path component did
not exist.
The common portions of those paths which failed are:
var/www/html/owncloud/data/F1000buv/files/Dossier personnel et source de
partage/E-Administration/
and
var/www/html/owncloud/data/F1000buv/files_versions/Dossier personnel et source
de partage/E-Administration
Do those paths still exist on the original filesystem? Is it possible that
they were removed while the dump was occurring?
It seems most likely that the filesystem changed significantly during the dump
processes, and this is what led to the errors.
-Eric