Re: [Bacula-users] prevent windows shutdown when backup run

2011-04-21 Thread Stefan Muenkner
On 21.04.2011 10:58, John Doe wrote:
> From: ruslan usifov 
> 
>> We back up client computers throw bacula-fd, but have some issue  throw
>> shutdown process (when user press power off button or throw  "start"
>> menu). We want prevent shutdown process while fd work, does exists  any
>> solutions for this  task?
> 
> Maybe look at:
> http://www.windows-help-central.com/windows-shutdown-script.html
> You'd have to write a script/program that waits until bacula-fd is done.
> But I never tried it myself...
> 
> JD
> 
> --
> Benefiting from Server Virtualization: Beyond Initial Workload 
> Consolidation -- Increasing the use of server virtualization is a top
> priority.Virtualization can reduce costs, simplify management, and improve 
> application availability and disaster protection. Learn more about boosting 
> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

It might work that way, by going into a loop querying whether a backup
task is currently being run and leave the loop only if no task is run
(with a message to the user). But it would still leave the problem,
how to detect that a backup task is being run..does bacula-fd provide
anything like that.under windows...

 Cheers,
Stefan


-- 
 Stefan Münkner
 FR 2.5 Biophysik
 Universität des Saarlandes
 Campus Homburg
 Gebäude 76
 D-66421 Homburg/Saar
..
phone +49 6841 16-26222fax   +49 6841 16-26211
http://www.uniklinikum-saarland.de/biophysik/

--
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] prevent windows shutdown when backup run

2011-04-21 Thread John Doe
From: ruslan usifov 

> We back up client computers throw bacula-fd, but have some issue  throw
> shutdown process (when user press power off button or throw  "start"
> menu). We want prevent shutdown process while fd work, does exists  any
> solutions for this  task?

Maybe look at:
http://www.windows-help-central.com/windows-shutdown-script.html
You'd have to write a script/program that waits until bacula-fd is done.
But I never tried it myself...

JD

--
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] prevent windows shutdown when backup run

2011-04-20 Thread Phil Stracchino
On 04/20/11 13:40, ruslan usifov wrote:
> Hello
> 
> We back up client computers throw bacula-fd, but have some issue throw
> shutdown process (when user press power off button or throw "start"
> menu). We want prevent shutdown process while fd work, does exists any
> solutions for this task?

The short answer is, no, if the user has physical access to the hardware
you cannot prevent the user from shutting it down by hitting the power
button, and Bacula does not have the capability to override an
OS-controlled shutdown initiated by the OS or the user.  About the only
ways around this are either to educate your users, or to redesign your
backup strategy in a robust way (say, use rsync to copy the data to a
buffer area off the machine that you actually back up).


-- 
  Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355
  ala...@caerllewys.net   ala...@metrocast.net   p...@co.ordinate.org
  Renaissance Man, Unix ronin, Perl hacker, SQL wrangler, Free Stater
 It's not the years, it's the mileage.

--
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] prevent windows shutdown when backup run

2011-04-20 Thread ruslan usifov
Hello

We back up client computers throw bacula-fd, but have some issue throw
shutdown process (when user press power off button or throw "start"
menu). We want prevent shutdown process while fd work, does exists any
solutions for this task?

--
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users