Anomalie #7467
La restauration bacula échoue à cause des fichiers spéciaux aquota.user et aquota.group
Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Target version:
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
Associated revisions
bacula-fichier.conf : /%%home_path -> %%home_path
Fixes: #7467 @30m
History
#1 Updated by Joël Cuissinat about 7 years ago
- Status changed from A étudier to Résolu
- % Done changed from 0 to 100
Appliqué par commit 19940a0409dfe423787f2c0780b41383b3b2bc8d.
#2 Updated by Joël Cuissinat about 7 years ago
- Due date set to 02/21/2014
#3 Updated by Joël Cuissinat about 7 years ago
- Target version changed from Eole 2.4-RC2 to Eole 2.4-RC3
Demande déplacée pour qualification
#4 Updated by Joël Cuissinat about 7 years ago
- Status changed from Résolu to 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:~#