Bacula-users

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

2009-02-02 08:08:02
Subject: Re: [Bacula-users] Lock file during backup/restore
From: le dahut <le.dahut AT laposte DOT net>
To: bacula-users <Bacula-users AT lists.sourceforge DOT net>
Date: Mon, 02 Feb 2009 14:05:20 +0100
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 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 purpose of the snapshot.
> 
> If you do have such a conflict, you will need to resolve it on a 
> case-by-case basis. Usually, the ClientRunBeforeJob and 
> ClientRunAfterJob scripts can be used for that purpose.
> 
> Restore doesn't need locks anyway because by default you are not 
> restoring to the same location where the file came from. Bacula expects 
> you to manually move it back in place - and shut down whatever program 
> may need to be shut down.
> 
> le dahut wrote:
>> Hello,
>>
>> Does bacula manage locks Before/After Backup/Restore ?
>>
>> The idea is :
>> * prevent other programs to run if a backup/restore is in process
>> * prevent bacula to run backup/restore if another program is running
>>
>> the second point could also be :
>> * make bacula backup/restore wait until another program has released its 
>> lock
>>
>>
>> K.T.
>>   
> 

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>