Bacula-users

Re: [Bacula-users] How to do a systemstate backup?

2009-01-09 13:19:47
Subject: Re: [Bacula-users] How to do a systemstate backup?
From: Andrea Conti <ac AT alyf DOT net>
To: bacula-users AT lists.sf DOT net
Date: Fri, 09 Jan 2009 18:59:24 +0100
> - Is there a way to only run this script before a full backup, but not 
> before an incremental backup?

You need a batch file on the client side, something like:

if [%~1]==[Full] (
  ntbackup <your options here>
)

Then you pass the job level as a parameter to the script:

Client Run Before Job = "c:/bacula/runBefore.cmd \"%l\""

There other variables that can be used when calling scripts, look at the
documentation.

As for ntbackup not working, if calling it from a batch file (which
tends to eliminate those pesky cross-platform escaping issues) does not
fix it, check that user account the bacula-fd service is running under
has the right privileges (I seem to remember having to fix this in the
past).

Andrea

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users