Anomalie #7467
La restauration bacula échoue à cause des fichiers spéciaux aquota.user et aquota.group
Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Version cible:
Distribution:
EOLE 2.4
Description
root@horus:~# grep "Error:" /var/log/bacula/restore.txt 19-Feb 16:48 horus-fd JobId 7: Error: File /home/aquota.user already exists and could not be replaced. ERR=Operation not permitted. 19-Feb 16:48 horus-fd JobId 7: Error: create_file.c:227 Could not create /home/aquota.user: ERR=Permission denied 19-Feb 16:48 horus-fd JobId 7: Error: File /home/aquota.group already exists and could not be replaced. ERR=Operation not permitted. 19-Feb 16:48 horus-fd JobId 7: Error: create_file.c:227 Could not create /home/aquota.group: ERR=Permission denied
Cependant, ces fichiers sont censés être exclus de la sauvegarde mais, c'est peut-être le double slash généré dans le template qui dérange Bacula :
root@horus:~# grep -C2 aquota /etc/bacula/baculafichiers.d/fichier.conf Exclude { File = //home/aquota.group File = //home/aquota.user File = //home/recyclage File = //home/backup
Révisions associées
bacula-fichier.conf : /%%home_path -> %%home_path
Fixes: #7467 @30m
Historique
#1 Mis à jour par Joël Cuissinat il y a environ 10 ans
- Statut changé de A étudier à Résolu
- % réalisé changé de 0 à 100
Appliqué par commit 19940a0409dfe423787f2c0780b41383b3b2bc8d.
#2 Mis à jour par Joël Cuissinat il y a environ 10 ans
- Echéance mis à 21/02/2014
#3 Mis à jour par Joël Cuissinat il y a environ 10 ans
- Version cible changé de Eole 2.4-RC2 à Eole 2.4-RC3
Demande déplacée pour qualification
#4 Mis à jour par Joël Cuissinat il y a environ 10 ans
- Statut changé de Résolu à Fermé
OK les fichiers ne sont plus dans la sauvegarde.
root@scribe:~# /usr/share/eole/sbin/bacularestore.py --ls_folder /home | grep quota root@scribe:~#