Boa tarde,
Estou trabalhando num esquema de backup em disco onde o director fica no mesmo servidor, o storage para backup local fica em outro e um terceiro servidor que é para ser backupeado". Porém estou com problemas quando vou rodar o Job como este.
29-Oct 10:54 linuxjg JobId 405403: Warning: mount.c:212 Open of file device "linuxjg" (/BACKUPDISK) Volume "Full-linuxjg-1119" failed: ERR=file_dev.c:172 Could not open(/BACKUPDISK/Full-linuxjg-1119,CREATE_READ_WRITE,0640): ERR=Permissão negada
Se dou um stat storage, ele carrega e aparece o seguinte:
Jobs waiting to reserve a drive:
====
Terminated Jobs:
JobId Level Files Bytes Status Finished Name
===================================================================
405401 Full 0 0 Cancel 29-Out-15 10:48 linuxjg
405402 Full 0 0 Cancel 29-Out-15 10:53 linuxjg
====
Device status:
Device "linuxjg" (/BACKUPDISK) is not open.
Device is being initialized.
==
Device "esfinge" (/BACKUPDISK) is not open.
==
====
Used Volume status:
Já rodei no servidor um chwon -R bacula /BACKUPDISK e não resolveu.
Seguem os confs.
Servidor1 (onde roda o director)
bacula-dir
Client {
Name = linuxjg-fd
Address = 192.168.184.10
FDPort = 9102
Catalog = MyCatalog
Password = "JFjk28asdfna7123nmKdfjkhdfb12hvs7dfbansfdbdfg234yg6238badfmjjkdf"
File Retention = 124 days
Maximum Concurrent Jobs = 10
}
Storage {
Name = linuxjg
SDPort = 9103
Password = "3vrGdvwPwenPL7BFA8nM48FmoBxmr8XEe3cBszjVJpVcDe"
Device = linuxjg
Media Type = File
Maximum Concurrent Jobs = 10
}
Job {
Name = "linuxjg"
Client = linuxjg-fd
Storage = linuxjg
Type = Backup
FileSet = "linuxjg"
Schedule = "MonthlyCycleDiscoInt"
Messages = Standard
Pool = Default
Full Backup Pool = Full-Disco-Pool-linuxjg
Differential Backup Pool = Diff-Disco-Pool-linuxjg
Incremental Backup Pool = Inc-Disco-Pool-linuxjg
#ClientRunBeforeJob = "/root/scripts/backup_bacula.sh"
Write Bootstrap = "/var/lib/bacula/linuxjg.bsr"
Priority = 10
Maximum Concurrent Jobs = 10
Max Run Time = 23h
}
Servidor 2: Storage:
bacula-sd
Storage { # definition of myself
Name = linuxjg
SDPort = 9103 # Director's port
WorkingDirectory = "/var/lib/bacula"
Pid Directory = "/var/run"
Maximum Concurrent Jobs = 500
Heartbeat Interval = 60 seconds
}
Director {
Name = phoenix-dir
Password = "3vrGdvwPwenPL7BFA8nM48FmoBxmr8XEe3cBszjVJpVcDe"
}
Director {
Name = phoenix-mon
Password = "mQTGeJFyrOSa2bH89QXqdkzVRMqi/KAUzLTVzcFBHWrD"
Monitor = yes
}
#
# Devices supported by this Storage daemon
# To connect, the Director's bacula-dir.conf must have the
# same Name and MediaType.
#
Device {
Name = linuxjg
Media Type = File
Archive Device = /BACKUPDISK
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = no;
}
Servidor 3: Client
bacula-fd.conf
# List Directors who are permitted to contact this File daemon
#
Director {
Name = phoenix-dir
Password = "JFjk28asdfna7123nmKdfjkhdfb12hvs7dfbansfdbdfg234yg6238badfmjjkdf"
}
#
# Restricted Director, used by tray-monitor to get the
# status of the file daemon
#
Director {
Name = phoenix-mon
Password = "JFjk28asdfna7123nmKdfjkhdfb12hvs7dfbansfdbdfg234yg6238badfmjjkdf"
Monitor = yes
}
#
# "Global" File daemon configuration specifications
#
FileDaemon { # this is me
Name = bacula-fd
FDport = 9102 # where we listen for the director
WorkingDirectory = /var/spool/bacula
Pid Directory = /var/run
Maximum Concurrent Jobs = 20
}
# Send all messages except skipped files back to Director
Messages {
Name = Standard
director = bacula-dir = all, !skipped, !restored
}
Sabem o que pode ser?
Obrigado desde já.