Bacula-users

Re: [Bacula-users] FreeBSD Bare Metal Recovery

2009-02-12 05:19:07
Subject: Re: [Bacula-users] FreeBSD Bare Metal Recovery
From: Martin Simmons <martin AT lispworks DOT com>
To: dougs AT dawnsign DOT com
Date: Thu, 12 Feb 2009 10:14:31 GMT
>>>>> On Wed, 11 Feb 2009 16:34:16 -0800, Doug Sampson said:
> 
> I poked around some more. I discovered the 'ldd' command which shows the
> libraries used/required by bacula-fd as follows:
> 
> root@pisces:/root# ldd /usr/local/sbin/bacula-fd
> /usr/local/sbin/bacula-fd:
>         libz.so.4 => /lib/libz.so.4 (0x280c6000)
>         libthr.so.3 => /lib/libthr.so.3 (0x280d8000)
>         libintl.so.8 => /usr/local/lib/libintl.so.8 (0x280ea000)
>         libwrap.so.5 => /usr/lib/libwrap.so.5 (0x280f3000)
>         libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x280fa000)
>         libssl.so.5 => /usr/lib/libssl.so.5 (0x281ef000)
>         libcrypto.so.5 => /lib/libcrypto.so.5 (0x2822f000)
>         libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x2837e000)
>         libm.so.5 => /lib/libm.so.5 (0x2846d000)
>         libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x28482000)
>         libc.so.7 => /lib/libc.so.7 (0x2848c000)
>               
> root@pisces:/root# ldd /usr/sbin/chroot
> /usr/sbin/chroot:
>         libc.so.7 => /lib/libc.so.7 (0x2807b000)
> 
> The idea is to collect these libraries and archive off-site along with the
> bacula-fd daemon. How do I make those files available to bacula-fd and
> chroot via the Fix-it mode? Do I need to recreate these directories for each
> of the required libraries or can I put these in the /tmp directory where the
> bacula-fd will reside as part of the restore process?

/tmp should be OK as long as LD_LIBRARY_PATH is set (or you use ldconfig).

__Martin

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users