[Bacula-users] bacula linux rescue CD procedure (FreeBSD)

2007-06-22 Thread Dave
Hello,
I've never used a Linux bacula rescue CD at this point i don't need 
to do any bare metal recoveries of the linux box i have. I do however have a 
need for FreeBSD bare metal recovery. I've got a few questions.
First of all, has anyone done this or got far with it? What i was 
planning was to use the section of the freebsd handbook as a guide, make a 
custom boot media, compile bacula-fd statically along with my system's 
partition information, boot and see if i can do it. I realize this is rough, 
but my goal is to get the FreeBSD bare-metal recovery as comprehensive as 
the Linux procedure. To that end i'd like to know how linux rescue goes, i 
imagine you boot, then run programs like fdisk and format and recreate your 
system, then use bacula-fd to load file and boot information? If anyone who 
has done this could give me an overview conceptually i'd appreciate it.
Thanks.
Dave.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula linux rescue CD procedure (FreeBSD)

2007-06-22 Thread Frank Sweetser
Dave wrote:
 Hello,
 I've never used a Linux bacula rescue CD at this point i don't need 
 to do any bare metal recoveries of the linux box i have. I do however have a 
 need for FreeBSD bare metal recovery. I've got a few questions.
 First of all, has anyone done this or got far with it? What i was 
 planning was to use the section of the freebsd handbook as a guide, make a 
 custom boot media, compile bacula-fd statically along with my system's 
 partition information, boot and see if i can do it. I realize this is rough, 
 but my goal is to get the FreeBSD bare-metal recovery as comprehensive as 
 the Linux procedure. To that end i'd like to know how linux rescue goes, i 
 imagine you boot, then run programs like fdisk and format and recreate your 
 system, then use bacula-fd to load file and boot information? If anyone who 
 has done this could give me an overview conceptually i'd appreciate it.

That's roughly it, yes.  The biggest thing to note is that at least for linux,
there are a handful of helper scripts in
/etc/bacula/rescue/linux/cdrom/bacula.  The diskinfo script, for example, will
create a series of secondary scripts that, when run, will recreate the same
partion and LVM layout.  There are also scripts to set up networking and help
wth installing the bootloader.  None of these scripts are mandatory (I've done
manual bare metal restores without them), but they can be extremely helpful.

-- 
Frank Sweetser fs at wpi.edu  |  For every problem, there is a solution that
WPI Senior Network Engineer   |  is simple, elegant, and wrong. - HL Mencken
GPG fingerprint = 6174 1257 129E 0D21 D8D4  E8A3 8E39 29E3 E2E8 8CEC

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula linux rescue CD procedure (FreeBSD)

2007-06-22 Thread Dave
Hi Frank,
Thanks for your reply. I'll probably start manually, grind out a 
procedure by hand then look at the Linux scripts and see what if any are the 
freebsd equivalents and try to bring them over. My goal initially was bare 
metal recovery for my own use, but the more i think about this the more i 
feel that this would benefit all bacula freebsd users who might want to do 
bare metal recoveries. My problem now becomes how to genericize everything, 
how is the linux rescue cd-rom created? That's where i am going to take 
this.
Thanks.
Dave.

- Original Message - 
From: Frank Sweetser [EMAIL PROTECTED]
To: Dave [EMAIL PROTECTED]
Cc: bacula-users@lists.sourceforge.net
Sent: Friday, June 22, 2007 2:23 PM
Subject: Re: [Bacula-users] bacula linux rescue CD procedure (FreeBSD)


 Dave wrote:
 Hello,
 I've never used a Linux bacula rescue CD at this point i don't 
 need
 to do any bare metal recoveries of the linux box i have. I do however 
 have a
 need for FreeBSD bare metal recovery. I've got a few questions.
 First of all, has anyone done this or got far with it? What i was
 planning was to use the section of the freebsd handbook as a guide, make 
 a
 custom boot media, compile bacula-fd statically along with my system's
 partition information, boot and see if i can do it. I realize this is 
 rough,
 but my goal is to get the FreeBSD bare-metal recovery as comprehensive as
 the Linux procedure. To that end i'd like to know how linux rescue goes, 
 i
 imagine you boot, then run programs like fdisk and format and recreate 
 your
 system, then use bacula-fd to load file and boot information? If anyone 
 who
 has done this could give me an overview conceptually i'd appreciate it.

 That's roughly it, yes.  The biggest thing to note is that at least for 
 linux,
 there are a handful of helper scripts in
 /etc/bacula/rescue/linux/cdrom/bacula.  The diskinfo script, for example, 
 will
 create a series of secondary scripts that, when run, will recreate the 
 same
 partion and LVM layout.  There are also scripts to set up networking and 
 help
 wth installing the bootloader.  None of these scripts are mandatory (I've 
 done
 manual bare metal restores without them), but they can be extremely 
 helpful.

 -- 
 Frank Sweetser fs at wpi.edu  |  For every problem, there is a solution 
 that
 WPI Senior Network Engineer   |  is simple, elegant, and wrong. - HL 
 Mencken
GPG fingerprint = 6174 1257 129E 0D21 D8D4  E8A3 8E39 29E3 E2E8 8CEC 


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula linux rescue CD procedure (FreeBSD)

2007-06-22 Thread Dan Langille
On Fri, 22 Jun 2007, Dave wrote:

 Hello,
I've never used a Linux bacula rescue CD at this point i don't need
 to do any bare metal recoveries of the linux box i have. I do however have a
 need for FreeBSD bare metal recovery. I've got a few questions.
First of all, has anyone done this or got far with it? What i was
 planning was to use the section of the freebsd handbook as a guide, make a
 custom boot media, compile bacula-fd statically along with my system's
 partition information, boot and see if i can do it. I realize this is rough,
 but my goal is to get the FreeBSD bare-metal recovery as comprehensive as
 the Linux procedure. To that end i'd like to know how linux rescue goes, i
 imagine you boot, then run programs like fdisk and format and recreate your
 system, then use bacula-fd to load file and boot information? If anyone who
 has done this could give me an overview conceptually i'd appreciate it.

Dave:

Would the FreeSBIE http://www.freesbie.org/ CD be used to you?  It is a 
live-cd, based on FreeBSD.  They provide *all* the tools for you to roll 
your own live-cd.  I know there is a FreeSBIE-based live-cd for HAM radio 
operators: http://www.bfst.de/hamfreesbie/

Based on what they've done, and my own experience using FreeSBIE for 
rescue-like situations, I think it's worth a look.  For example, I've 
booted from FreesBIE to copy an existing HDD to a new RAID cluster.

cheers

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users