Re: [Bacula-users] Lock file during backup/restore

2009-02-02 Thread Kevin Keane
On the director side, you could use bconsole. You can do that from a script, too. On the fd side, you could write a ClientRunBeforeJob that creates a "flag" file somewhere (say, create a file called /var/run/baculaJobRunning), and a ClientRunAfterJob that removes it. You can do the same thing

Re: [Bacula-users] Lock file during backup/restore

2009-02-02 Thread le dahut
My question was more "is there any check other programs can do to know if a bacula jobs is running ?" On the bacula-dir side ? On the bacula-fd side ? Thanks for your answer. Kevin Keane wrote : > No, that would be difficult to do because you can't simply say "ALL > other programs" need to be

Re: [Bacula-users] Lock file during backup/restore

2009-01-30 Thread Kevin Keane
No, that would be difficult to do because you can't simply say "ALL other programs" need to be locked out. Some would have to stay running just to keep the system going. If you are backing up things such as databases or email systems, and are using snapshots, such a lockout would defeat the pur