Bacula-users

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

2009-01-09 17:58:05
Subject: Re: [Bacula-users] How to do a systemstate backup?
From: Kevin Keane <subscription AT kkeane DOT com>
Date: Fri, 9 Jan 2009 14:54:41 -0800
Andrea Conti wrote:
>> - 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\""
>   
Drats. I was hoping to avoid a script on the client side; I want to keep 
the client-side configuration to a minimum. Ideally, I'd like to use a 
Group Policy or startup script to push out the FD, so that new clients 
would get added automatically. On the server side, I already have a 
script that automatically generates the configuration for a new client.
> 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).
>   
Do you by any chance know what privileges are necessary? The service 
currently runs under the local system account.

Update: I think I found the cause. After I added the logging option 
/l:f, the system state backup is suddenly running without a problem. No 
idea why that would make a difference.

-- 
Kevin Keane
Owner
The NetTech
Turn your NetWORRY into a NetWORK!

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.


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