Bacula-users

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

2009-01-30 09:48:17
Subject: Re: [Bacula-users] Lock file during backup/restore
From: Kevin Keane <subscription AT kkeane DOT com>
Date: Fri, 30 Jan 2009 06:45:52 -0800
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.
>   

-- 
Kevin Keane
Owner
The NetTech
Find the Uncommon: Expert Solutions for a Network You Never Have to Think About

Office: 866-642-7116
http://www.4nettech.com

This e-mail and attachments, if any, may contain confidential and/or 
proprietary information. Please be advised that the unauthorized use or 
disclosure of the information is strictly prohibited. The information herein is 
intended only for use by the intended recipient(s) named above. If you have 
received this transmission in error, please notify the sender immediately and 
permanently delete the e-mail and any copies, printouts or attachments thereof.


------------------------------------------------------------------------------
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>