Thanks for the info! I believe my 'nix success was because: 1. I did a base install of the same version of the os that was on the source drives. 2. I formatted the disks exactly the same as the source disks (actually, I incorrectly created ext2 partitions and the source disks were ext3. The restore was successful in that the system boots and all services run as expected, but I get inode errors. I'm going to do the exercise over again rather than try to repair this, having not seen anything obvious in fsck, parted, fdisk...). 3. Compiled the bacula-fd --enable-client-only. 4. I omitted /sys /proc and /boot from the restore.
For Win I followed the advice from the manual with minor mods: 1. Install base Win os. 2. Install bacula for Win. 3. Restore all. 4. Restore system state. (This is is done just before the nightly backup, so if it have to recover I can use the copy that is restored by bacula.) 5. Removed and added the server to AD (there was a trivial error being logged at boot that had to do with a synchronization. I did this instead of having to do a registry hack.) 6. Reboot. I'll update when I get the OS X thing resolved. On Fri, 2006-11-10 at 13:40 +0100, Kern Sibbald wrote: > On Thursday 09 November 2006 17:50, Don MacArthur wrote: > > 1. > > The 'nix restore process is working. My process is as discussed > > earlier, install a base system with bacula and restore everything except > > - /sys /proc *and* /boot. I learned quite a bit about getting the drive > > configuration right, but I successfully restored a working RH server. > > If there are any tips for the manual, please do write them down and send them > in ... > > > > > 2. > > I'm still interested in testing the new recovery cd solution when Kern > > returns. > > Ah, I would very much like to have someone test this. I'll put some > finishing > touches on it this weekend and let you know. > > > > > 3. > > Now, I'm trying to conquer OSX 10.4... I saw a couple of posts here, > > but it doesn't look like anyone's *actually* done it by restoring the > > system. I don't mind figuring it out, but if you can give me a push in > > the right direction or keep me from repeating your mistakes I'd > > appreciate the time saved. > > > > Almost everything I've read says to use imaging or reinstall everything > > and restore only the data. The bootcd solutions I found are not for > > <10.4 or based on creating a bootcd from the OS installation disk. There > > are a couple of commercial products, but my goal is a one-stop solution > > that a backup expert can use without being an OSX expert, too. That > > said... > > > > Should I try doing it the same as for 'nix, but using the above- > > mentioned bootcd? Is BSD significantly different (all my 'nix are RH or > > CentOS), and if it is should I start with that process? I do actually > > work on these systems, but mostly remote and on the command line. > > Well, I cannot really answer this question because I don't know enough about > either BSD or OS X. However, in general, you need some code that will setup > a bootable CD (or USB or other thing) so that you can boot without using your > disk image. Then you need to be able to repair/reformat, ... your hard disks > depending on the situation -- that is what most of the Bacula rescue code > does. It saves the state of the system and reformats it in a series of > relatively easy to use scripts. In addition, you need a statically linked > copy of the FD and its conf file on the CD so that you can restore the data > files. And finally, you need some way to restore the boot sector (typically > grub on most newer Linux machines). > > > > > TIA for any/everything. > > > > Don. > > > > >>>>>>>>>> > > Thanks for the education. I knew about /proc, but /sys is news to > > me. > > > > Again, many thanks. > > > > Don. > > > > On Wed, 2006-09-13 at 10:49 +0200, Kern Sibbald wrote: > > > On Wednesday 13 September 2006 06:09, MacArthur, Don wrote: > > > > Hi to all! > > > > > > > > I took the advice about loading a minimal OS config and then restoring > from > > > backup. I have another issue that may or may not be related to the > > > restore... > > > > > > > > I used "restore all" from the console, with files being replaced > > always > and > > > the "where" set to "/". However, after entering the "/" for the where > parm > > > the field appeared blank. > > > > > > Yes, blank is the same thing as /. > > > > > > > No matter, or so I thought. Near the end of the restore process as it > is > > > trying to restore the sys/dev folder (some of which can't be restored > because > > > it's in use) the server ceases to communicate. No ping, not bacula > client > > > response... > > > > > > Well, you should not be trying to restore /sys or /proc. If you have > backed > > > them up, then you will need to exclude them from the restore. These are > > > "virtual" directories created by the OS, and writing into them could > cause > > > lots of damage. > > > > > > > > > > > I rebooted the server and after loading vmlinuz... > > > > > > If you rebooted the server without completing the restore, there is > little > > > chance it will boot up. > > > > > > What does "loading vmlinuz..." mean? If you did not restore everything > > > in /boot AND if you did not rewrite the boot sector with grub (or > possibly > > > lilo), there is no chance that your system will boot. > > > > > > > > > > I get an error saying that it can't find the root ("/") folder, and > then the > > > kernel panics. > > > > > > > > > > > > > > I'm thinking that there are some folders that I should know to exclude > from > > > the restore, but don't have the experience to know about. I'm trying to > > > follow the docs (not a complaint, just want you to know I'm not lazy), > but I > > > don't see anything different from what I'm doing. > > > > > > They are actually directories that you should exclude from the backup, > and > > > there are several places in the doc that show examples. However, it is > true, > > > you sort of have to "know" as it may not be as explicitly stated as it > should > > > be -- I'll look at the document in the near future. > > > > > > If you have specified directories or filesystems such as /proc and /sys > in > > > your backup, then you can still do a restore, but you will need to > explicitly > > > exclude them. > > > > > > > > > > > Links to mail list threads and/or documentation are welcome - I'm > willing to > > > do my homework, I just need a nudge or a shove in the right direction - > as > > > are outright answers. > > > > > > > > Again, I appreciate the features and quality of bacula, you guys are > great. > > > > > > > > Don. > > > > > > > > PS. I'm willing to do some beta testing as Kern requested, but I'm > booked > > > through mid-October. If it's still needed at that time I'll be happy to > > > help. > > > > > > Well, hopefully, I will have the new rescue working the way I want in > another > > > day or two, and then documented within the next week. You will be free > to > > > try it in mid-October, and by then it should be working at least for > > SuSE > > > 10.1 systems, which is what I am running, but I will be on vacation (a > real > > > vacation this time) from mid-October to mid-November. > > > > > > Regards, > > > > > > Kern > > > > > > > > > > > > > > -----Original Message----- > > > > From: [EMAIL PROTECTED] on behalf of Arno Lehmann > > > > Sent: Tue 9/12/2006 12:54 AM > > > > To: [EMAIL PROTECTED] > > > > Subject: Re: [Bacula-users] Rescue cd create/make problem > > > > > > > > Hi, > > > > > > > > On 9/12/2006 1:39 AM, Don MacArthur wrote: > > > > > Sorry to be so chatty- > > > > > > > > > > "Failure": when I eject the bacula boot cd, restart the server, after > > > > > the POST when (I'm guessing) it tries to read from the drives I'm > > > > > presented with a blank screen and a blinking underscore cursor in the > > > > > upper left corner of the display. > > > > > > > > Hmm. Which rscue CD? The one from the Bacula project? That, AFAIK, was > > > > always rather limited. > > > > > > > > IIRC, Kern started integrating Bacula into something else which name I > > > > forgot (of course...) but a search in the list archives and possibly > > > > through the ReleaseNotes might find something... ah, not what I was > > > > thinking of, but look here: http://rescuecd.pld-linux.org/ > > > > > > > > > Going to plan "b"; load the OS and bacula from scratch, and restore > from > > > > > there. > > > > > > > > That should work - it's more difficult with windows, but I understand > > > > you've got your windows recovery routine proven already. (BartPE?) > > > > > > > > > I've seen no response to my posts, so don't be shy. Or, if you know > of > > > > > someone who might have some ideas please ask them to review the > posts. > > > > > > > > Ideas... you're welcome. By the way, for windows I use BartPE for > rescue > > > > purposes, for linux I prefer doing a minimal system install from the > > > > distribution media (which allows me to change the disk /filesystem > > > > layout using a GUI, which is needed from time to time, and once the > > > > machine is down you can as well do some maintenance work :-) , add > > > > bacula-fd + configuration to it and recover from there. > > > > > > > > A completely static FD seems to be somewhat difficult, so in case of > > > > problems I even install gcc/g++, the necessary development packages, > and > > > > compile Bacula - I found this to be more flexible than fighting with a > > > > pre-compiled binary and its requirements. Usually, though, the > > > > pre-compiled FD works without problems. > > > > > > > > I never actually tried to prepare a "universal" linux Bacula rescue CD > > > > because I found it much too complicated handling all necessary > > > > ATA/SATA/Chipset modules, filesystem types, LVM1 / LVM2 issues, > > network > > > > setups (rather the simplest part, though) combinations I encounter. > > > > > > > > Arno > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job > easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > Bacula-users mailing list > > Bacula-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/bacula-users > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users