Hi,
I've installed and configured the free Bacula version 5.2.13, but I'm not
able to establish the connection with remote client the local backup works
fine. IP and port has been allowed in the firewall and telnet in both
machines works fine. All the configurations are done as per the document:
https://www.digitalocean.com/community/tutorials/how-to-install-bacula-server-on-centos-7
- OS: CentOS Linux release 7.6.1810 (Core)
- Bacula Version: 5.2.13
=====================================
[root@baculaserver ~]# bconsole
Connecting to Director localhost:9101
1000 OK: bacula-dir Version: 5.2.13 (19 February 2013)
Enter a period to cancel a command.
*status client
The defined Client resources are:
1: bacula-fd
2: client1.hostname-fd
3: client2.hostname-fd
Select Client (File daemon) resource (1-3): 2
Connecting to Client client1.hostname-fd at client1.hostname:9102
Failed to connect to Client client1.hostname-fd.
====
You have messages.
=====================================
# tail -f /var/log/bacula/bacula.log
28-Apr 23:10 bacula-dir JobId 71: Begin pruning Files.
28-Apr 23:10 bacula-dir JobId 71: No Files found to prune.
28-Apr 23:10 bacula-dir JobId 71: End auto prune.
28-Apr 23:10 bacula-dir JobId 71: shell command: run AfterJob
"/usr/libexec/bacula/delete_catalog_backup"
29-Apr 07:49 bacula-dir JobId 0: Fatal error: Unable to authenticate with
File daemon at "client1.hostname:9102". Possible causes:
Passwords or names not the same or
Maximum Concurrent Jobs exceeded on the FD or
FD networking messed up (restart daemon).
Please see
http://www.bacula.org/en/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION00260000000000000000
for help.
=====================================
# vi /etc/bacula/conf.d/clients.conf
Client {
Name = client1.hostname-fd
Address = client1.hostname
FDPort = 9102
Catalog = MyCatalog
Password = "mypassword" # password for Remote FileDaemon
File Retention = 30 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
Job {
Name = "Backupclient1.hostname"
JobDefs = "DefaultJob"
Client = client1.hostname-fd
Pool = RemoteFile
FileSet="Home and Etc"
}
=====================================
# cat /etc/bacula/bacula-fd.conf
Director {
Name = servername-dir
Password = "mypassword"
}
Director {
Name = bacula-mon
Password = "mypassword"
Monitor = yes
}
FileDaemon { # this is me
Name = client1.hostname-fd
FDAddress = <client_ip_address>
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 = servername-dir = all, !skipped, !restored
}
=====================================
kindly update me any solution for this, let me know if you require any
further details.
Regards,
Preash.
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users