Erich Eckner
unread,May 7, 2020, 2:44:07 PM5/7/20Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to bareos-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hi,
is there a clean way to check on the machine running the filedaemon,
whether any backups are pending (or even already running) or not?
(preferably without connecting bconsole to the director)
Currently, I check whether the filedaemon has connected to the storage
daemon - this seems to work most of the time, but when multiple backups
are scheduled sequentially from the same machine, there seems to be a gap
inbetween the backups, where no such connection exists.
Just to give you the big picture: This check is queried in a hook before
shutdown/reboot to not interrupt/abort any running backups.
regards,
Erich
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEE3p92iMrPBP64GmxZCu7JB1Xae1oFAl60VusACgkQCu7JB1Xa
e1rxcw/9GLVpILN+vi9hdkfbHXmQKBBI0Lrq30qfIjYtKrTTV9MCXqQQe4WAkWTs
7kaOBAhINH/JIb/QcfxzqiePvFJbNfL2IqfwcDp2A2dx8a367HjEDHW6T6OawlsP
SrBZMPG2TTG6iNuYNm3gCd9gWJkCXu605oQeLu1tibQBbbDOAkW0AQx5m7Q1SzFN
Nks2kNIBRihf65oPzmGeRIlfpSo2+CXucczc7RZfvc7iiO8LuUWgBD+0WSng3VfO
AXsBWs07OR2VzmbisHs9/euCZxasCeN6dkJ3uBKDc9fyI2IPerl5vtCwuhi6rbJO
1CXYeCfn6YjXqzTg9nvEW2Qr3CriXFl66YsRkySbPtyAn/38EadSU5ZJ/dQEdJs3
pl6VH808kmH+zrdJFnXtyhqu/IG6t+8V2pwvtp4RlXBwgHkktmK4qEe4XIxWoxeA
nARWLWyyuKBfT9jYioEEs3cSmcB/iiOk7wy0vk4IX2hutn3okbuDN/PUHHOgx5z6
UDqC9lZpICUYQmJ/VmcReTeSY9qSVW011ohjalUe0cNfkIwzoDf/UyFEj6F/2mB8
2W47tLwdVZpnYK6Sn3M5eQ62mdzoDES0T/LqcSawUbusPF0m6nkZBQkhQgrM8HKN
Wt+iitXSSAvJ4U3z2GM4qxjMZyTSzgjzNhzLDHEuob/EEz9HYE8=
=ymWT
-----END PGP SIGNATURE-----