Bareos Bug Tracker
Bareos Bug Tracker

View Issue Details Jump to Notes ] Related Changesets ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000455bareos-core[All Projects] file daemonpublic2015-04-09 22:482016-04-15 22:28
Reporterged 
Assigned Tojoergs 
PrioritylowSeverityfeatureReproducibilityhave not tried
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version14.2.4 
Target VersionFixed in Version 
Summary0000455: Connect from File Daemon to Director Daemon
DescriptionNetwork scheme

many File Daemon on the client PC on different networks - many firewall client network - internet - Firewall - LAN of Storage Daemon and Director Daemon

Connecting from Director to File Daemon is impossible because of the need to configure a wide variety of firewalls.

To connect from File Daemon to the Director Daemon and Storage daemon there is no need to configure a firewall. Which is easier in a strictly firewalled environment.

Can be done to the client connects to the director and cached tasks and all options?
TagsNo tags attached.
bareos-master: impactyes
bareos-master: actionwill care
bareos-18.2: impact
bareos-18.2: action
bareos-17.2: impact
bareos-17.2: action
bareos-16.2: impact
bareos-16.2: action
bareos-15.2: impactno
bareos-15.2: action
bareos-14.2: impactno
bareos-14.2: action
bareos-13.2: impactno
bareos-13.2: action
bareos-12.4: impactno
bareos-12.4: action
Attached Files

- Relationships

-  Notes
(0001682)
mvwieringen (developer)
2015-04-11 10:01

I think you are talking about client initiated backups. That is something we
want to eventually implement. The director already has the first code to
detect if a client or a console is connecting to it. The idea is that when
the client connects it gets some restricted console commands that only allow
it to do things with it own data. Biggest problem is the restore process.
(0001806)
ged (reporter)
2015-08-19 19:27
edited on: 2015-08-19 19:30

Very need backup data. Restore may be manuals configure, connect and etc.
Recovery it is the secondary task.Without a backup, it is not relevant.

(0001946)
maik (administrator)
2015-11-06 17:56

Maybe later.
(0002237)
joergs (administrator)
2016-04-15 22:28

Fix committed to bareos master branch with changesetid 6203.

- Related Changesets
bareos: master 584939bb
Timestamp: 2016-01-23 10:13:07
Author: joergs
Ported: N/A
Details ] Diff ]
Added Client Initiated Connection feature

This feature allows a Client (File Daemon) to open
and keep a connection to the Director.
It identifies himself and do the authentication.
The Director will keep the connection in a waiting pool.
If a job starts that needs access to the client
and a waiting connection to this client exist,
the connection will be used and removed from the pool.
The Client notices that this connection is now used
and opens a additional one connection
(required for multiple simultaneous client commands,
e.g. cancel a running job).

Configuration to enable Client Initiated Connections:
bareos-dir.conf:
Client
ConnectionFromDirectorToClient = no
ConnectionFromClientToDirector = yes

bareos-fd.conf:
Director
Address
ConnectionFromDirectorToClient = no
ConnectionFromClientToDirector = yes

The "no" settings are not required, but gurantees that the
network connection will be only opened in the intended direction.

It is possible, to use Director Initiated Connections (default) and
Client Initiated Connection simultaneously. If a waiting connection
exists, it will be used, otherwise the Director tries to connect to the
client.

This patch also implements TCP Keepalive for Windows.

Fixes 0000455: Connect from File Daemon to Director Daemon
mod - src/dird/authenticate.c Diff ] File ]
mod - src/dird/backup.c Diff ] File ]
mod - src/dird/dird.h Diff ] File ]
mod - src/dird/dird_conf.c Diff ] File ]
mod - src/dird/dird_conf.h Diff ] File ]
mod - src/dird/fd_cmds.c Diff ] File ]
mod - src/dird/job.c Diff ] File ]
mod - src/dird/protos.h Diff ] File ]
mod - src/dird/restore.c Diff ] File ]
mod - src/dird/sd_cmds.c Diff ] File ]
mod - src/dird/socket_server.c Diff ] File ]
mod - src/dird/ua_cmds.c Diff ] File ]
mod - src/dird/ua_dotcmds.c Diff ] File ]
mod - src/dird/ua_status.c Diff ] File ]
mod - src/dird/verify.c Diff ] File ]
mod - src/filed/authenticate.c Diff ] File ]
mod - src/filed/dir_cmd.c Diff ] File ]
mod - src/filed/filed.c Diff ] File ]
mod - src/filed/filed.h Diff ] File ]
mod - src/filed/filed_conf.c Diff ] File ]
mod - src/filed/filed_conf.h Diff ] File ]
mod - src/filed/protos.h Diff ] File ]
mod - src/filed/socket_server.c Diff ] File ]
mod - src/findlib/find.c Diff ] File ]
mod - src/include/jcr.h Diff ] File ]
mod - src/lib/Makefile.in Diff ] File ]
mod - src/lib/bnet_server_tcp.c Diff ] File ]
mod - src/lib/bsock.h Diff ] File ]
mod - src/lib/bsock_tcp.c Diff ] File ]
mod - src/lib/bsock_tcp.h Diff ] File ]
add - src/lib/connection_pool.c Diff ] File ]
add - src/lib/connection_pool.h Diff ] File ]
mod - src/lib/jcr.c Diff ] File ]
mod - src/lib/lib.h Diff ] File ]
mod - src/lib/parse_conf.h Diff ] File ]
mod - src/lib/protos.h Diff ] File ]
mod - src/lib/util.c Diff ] File ]
mod - src/lib/workq.c Diff ] File ]
mod - src/win32/lib/Makefile Diff ] File ]

- Issue History
Date Modified Username Field Change
2015-04-09 22:48 ged New Issue
2015-04-11 09:59 mvwieringen Severity minor => feature
2015-04-11 09:59 mvwieringen Description Updated View Revisions
2015-04-11 10:01 mvwieringen Note Added: 0001682
2015-08-19 19:27 ged Note Added: 0001806
2015-08-19 19:30 ged Note Edited: 0001806 View Revisions
2015-11-06 17:56 maik Note Added: 0001946
2015-11-06 17:56 maik Priority normal => low
2015-11-06 17:56 maik Status new => acknowledged
2016-03-29 13:18 joergs Assigned To => joergs
2016-03-29 13:18 joergs Status acknowledged => assigned
2016-03-29 13:19 joergs bareos-master: impact => yes
2016-03-29 13:19 joergs bareos-master: action => will care
2016-03-29 13:19 joergs bareos-15.2: impact => no
2016-03-29 13:19 joergs bareos-14.2: impact => no
2016-03-29 13:19 joergs bareos-13.2: impact => no
2016-03-29 13:19 joergs bareos-12.4: impact => no
2016-04-15 22:28 joergs Changeset attached => bareos master 584939bb
2016-04-15 22:28 joergs Note Added: 0002237
2016-04-15 22:28 joergs Status assigned => resolved
2016-04-15 22:28 joergs Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker