Назад | Перейти на главную страницу

Bacula: Ошибка записи резервной копии

Я установил bacula 7 на Cent OS 7, следуя этой инструкции: http://www.backupcentral.com/phpBB2/two-way-mirrors-of-external-mailing-lists-3/bacula-25/howto-install-bacula-7-on-centos-7-fresh-install- 126395 / .

Теперь я хотел бы создать резервную копию сервера, но задание застряло на is waiting for a mount request.

Режиссер показывает следующие сообщения:

31-Dez 15:42 bacula-sd JobId 6: Warning: label.c:362 Open file device "FileStorage" (/var/bacula/backups) Volume "Remote-0002" failed: ERR=file_dev.c:172 Could not open(/var/bacula/backups/Remote-0002,CREATE_READ_WRITE,0640): ERR=Keine Berechtigung 

31-Dez 15:42 bacula-sd JobId 6: Warning: label.c:362 Open file device "FileStorage" (/var/bacula/backups) Volume "Remote-0002" failed: ERR=file_dev.c:172 Could not open(/var/bacula/backups/Remote-0002,CREATE_READ_WRITE,0640): ERR=Keine Berechtigung 

31-Dez 15:42 bacula-sd JobId 6: Warning: mount.c:212 Open of file device "FileStorage" (/var/bacula/backups) Volume "Remote-0002" failed: ERR=file_dev.c:172 Could not open(/var/bacula/backups/Remote-0002,CREATE_READ_WRITE,0640): ERR=Keine Berechtigung 

31-Dez 15:42 bacula-sd JobId 6: Warning: label.c:362 Open file device "FileStorage" (/var/bacula/backups) Volume "Remote-0002" failed: ERR=file_dev.c:172 Could not open(/var/bacula/backups/Remote-0002,CREATE_READ_WRITE,0640): ERR=Keine Berechtigung 

31-Dez 15:42 bacula-sd JobId 6: Warning: label.c:362 Open file device "FileStorage" (/var/bacula/backups) Volume "Remote-0002" failed: ERR=file_dev.c:172 Could not open(/var/bacula/backups/Remote-0002,CREATE_READ_WRITE,0640): ERR=Keine Berechtigung 

31-Dez 15:42 bacula-sd JobId 6: Warning: mount.c:212 Open of file device "FileStorage" (/var/bacula/backups) Volume "Remote-0002" failed: ERR=file_dev.c:172 Could not open(/var/bacula/backups/Remote-0002,CREATE_READ_WRITE,0640): ERR=Keine Berechtigung 

31-Dez 15:42 bacula-sd JobId 6: Warning: label.c:362 Open file device "FileStorage" (/var/bacula/backups) Volume "Remote-0002" failed: ERR=file_dev.c:172 Could not open(/var/bacula/backups/Remote-0002,CREATE_READ_WRITE,0640): ERR=Keine Berechtigung 

31-Dez 15:42 bacula-sd JobId 6: Warning: label.c:362 Open file device "FileStorage" (/var/bacula/backups) Volume "Remote-0002" failed: ERR=file_dev.c:172 Could not open(/var/bacula/backups/Remote-0002,CREATE_READ_WRITE,0640): ERR=Keine Berechtigung 

31-Dez 15:42 bacula-sd JobId 6: Warning: mount.c:212 Open of file device "FileStorage" (/var/bacula/backups) Volume "Remote-0002" failed: ERR=file_dev.c:172 Could not open(/var/bacula/backups/Remote-0002,CREATE_READ_WRITE,0640): ERR=Keine Berechtigung 

31-Dez 15:42 bacula-sd JobId 6: Warning: label.c:362 Open file device "FileStorage" (/var/bacula/backups) Volume "Remote-0002" failed: ERR=file_dev.c:172 Could not open(/var/bacula/backups/Remote-0002,CREATE_READ_WRITE,0640): ERR=Keine Berechtigung 

31-Dez 15:42 bacula-sd JobId 6: Warning: label.c:362 Open file device "FileStorage" (/var/bacula/backups) Volume "Remote-0002" failed: ERR=file_dev.c:172 Could not open(/var/bacula/backups/Remote-0002,CREATE_READ_WRITE,0640): ERR=Keine Berechtigung 

31-Dez 15:42 bacula-sd JobId 6: Warning: mount.c:212 Open of file device "FileStorage" (/var/bacula/backups) Volume "Remote-0002" failed: ERR=file_dev.c:172 Could not open(/var/bacula/backups/Remote-0002,CREATE_READ_WRITE,0640): ERR=Keine Berechtigung 

31-Dez 15:42 bacula-sd JobId 6: Warning: label.c:362 Open file device "FileStorage" (/var/bacula/backups) Volume "Remote-0002" failed: ERR=file_dev.c:172 Could not open(/var/bacula/backups/Remote-0002,CREATE_READ_WRITE,0640): ERR=Keine Berechtigung 

31-Dez 15:42 bacula-sd JobId 6: Warning: label.c:362 Open file device "FileStorage" (/var/bacula/backups) Volume "Remote-0002" failed: ERR=file_dev.c:172 Could not open(/var/bacula/backups/Remote-0002,CREATE_READ_WRITE,0640): ERR=Keine Berechtigung 

31-Dez 15:42 bacula-sd JobId 6: Warning: mount.c:212 Open of file device "FileStorage" (/var/bacula/backups) Volume "Remote-0002" failed: ERR=file_dev.c:172 Could not open(/var/bacula/backups/Remote-0002,CREATE_READ_WRITE,0640): ERR=Keine Berechtigung 

31-Dez 15:42 bacula-sd JobId 6: Please mount append Volume "Remote-0002" or label a new one for: 
Job: myserver-db.2015-12-31_15.42.23_03 
Storage: "FileStorage" (/var/bacula/backups) 
Pool: RemoteFile 
Media type: File 

Ошибка Keine Berechtigung средства Permission denied.

Ну а там каталог /var/bacula/backups/ со следующими правами: drwxr-xr-x. 2 bacula bacula

Правильные разрешения для файлов в демоне хранилища - bacula: disk. Так

chown -R bacula:disk /var/bacula/backups