FreeBSD and Bacula
Drew Tomlinson
drew at mykitchentable.net
Thu Jul 3 20:48:00 UTC 2008
Ivaylo Bonev wrote:
> Thu, 03 Jul 2008 20:30:00 +0300, Rodrigo Gonzalez <rjgonzale at gmail.com>:
>
>> Ivaylo Bonev wrote:
>>> I want to use FreeBSD 7.0 for Backup server. After little searching, my
>>> decision was to use Bacula (because of Windows client). After
>>> installation of latest version (Bacula 2.4.0) and active googling,
>>> reading very carefuly Onlamp article of Bacula server on FreeBSD
>>> (http://www.onlamp.com/pub/a/onlamp/2004/01/09/bacula.html) and
>>> configuring File, Storage and Director files, I was astonished by the
>>> fact that Bacula cannot start from provided scripts in
>>> /usr/local/etc/rc.d/ directory. No messages in log, no error
>>> messages in
>>> console, ps aux| grep 'bacula' say nothing, nothing! I put
>>> bacula_dir_enable="YES"
>>> bacula_fd_enable="YES"
>>> bacula_sd_enable="YES"
>>> and after restart on console shows this error:
>>> 03-Jul 17:09 bacula-dir: ERROR TERMINATION at parse_conf.c:483
>>> Config error: Could not find config Resource bacula-fd referenced on
>>> line 30 :
>>> Client = bacula-fd
>>>
>>>
>>> : line 30, col 20 of file /usr/local/etc/bacula-dir.conf
>>> Client = bacula-fd
>>>
>>> All Bacula .conf files are attached. Is there a bug, or misconfigured
>>> .conf files?
>>>
>> You have laptop-fd in your bacula-fd configuration, you dont have
>> bacula-fd (I think you've renamed the Client conf from samples).
>>
>> Change bacula-fd with laptop-fd and should work
>>
>
> Thanks, it works now!
> What is name convention for Windows derectories and files in 'File ='
> 'c:/new' or '/new'?
I use Bacula to backup files from Windows XP workstations in my home
network. Here is a snippet from my bacula-dir.conf for your reference:
FileSet {
Name = "Bigdaddy Data Files"
Enable VSS = yes
Include {
File = "c:\\Documents and Settings"
File = "c:\\Elks"
File = "c:\\EG Magicians Circle"
Options {
compression=GZIP
signature=MD5
}
}
# Second "Include" is to really "Exclude" some wildcard options. See
manual
Include {
Options {
wild = "*[Tt]emp*"
wild = "*[Uu][Ss][Ee][Rr]*\.[Dd][Aa][Tt].*"
wild = "UsrClass\.dat.*"
exclude=yes
}
}
Exclude {
}
}
It's been a long time since I set that up so I probably won't be able to
answer any specific questions off the top of my head. However I hope my
example will help you find your answers.
Cheers,
Drew
--
Be a Great Magician!
Visit The Alchemist's Warehouse
http://www.alchemistswarehouse.com
More information about the freebsd-questions
mailing list