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: bacula-users@lists.sourceforge.net > > 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 > > > > > Again, TIA. > > > > > > On Mon, 2006-09-11 at 15:22 -0600, Don MacArthur wrote: > > > > > >>I just got my second failure to recover. This isn't a production > > >>server, but I need to know this'll work when I need it. > > >> > > >>If you have done a bare-metal recovery using the rescue disk, I would > > >>appreciate feedback on how it went, and what challenges were > > >>experienced. > > >> > > >>Thanks. > > >> > > >>On Mon, 2006-09-11 at 09:52 -0600, Don MacArthur wrote: > > >> > > >>>Also, I get the following errors during the make all... > > >>> > > >>>~~~~~~~~~~~~~~~~~~ > > >>>Begin making LVM formatting script(s) ... > > >>>Done building scripts. > > >>>./make_rescue_disk > > >>>if test ! x"/usr/sbin" = x ; then \ > > >>> ./copy_static_bacula "/usr/sbin"/static-bacula-fd "/usr/sbin"/bacula- > > >>>fd.conf ; \ > > >>>elif test ! -f ../rpm_release ; then \ > > >>> ./make_static_bacula /root/bacula-1.38.11 ; \ > > >>>fi > > >>>cp: cannot create regular file `bin/bacula-fd': No such file or > > >>>directory > > >>>Warning!!! /usr/sbin/static-bacula-fd not found. !!! > > >>>cp: cannot stat `/usr/sbin/bacula-fd.conf': No such file or directory > > >>>Warning!!! /usr/sbin/bacula-fd.conf not found. !!! > > >>>./copy_to_roottree > > >>>~~~~~~~~~~~~~~~~~~~~ > > >>> > > >>>Again, TIA. > > >>> > > >>>On Mon, 2006-09-11 at 08:27 -0600, Don MacArthur wrote: > > >>> > > >>>>First, thanks to so many who have contributed to creating a robust and > > >>>>elegant backup solution. It is the only one I could find that has > > >>>>enterprise-class features, and backs up all my OS's (Win, Lin, OS X). > > >>>> > > >>>>rh: es4 2.6.9.42.0.2.el > > >>>>rescue: 1.8.6 > > >>>>bacula: 1.38.11 > > >>>>both sources located under /root > > >>>> > > >>>>My task is to prove the restore process. I'm trying to use the boot cd. > > >>>>If I should switch to something else that is better, please point me in > > >>>>the right direction. My windows restore process went very well, no > > >>>>hitches. I'm working on my Linux servers, and OS X is next. > > >>>> > > >>>>I've run through the process a couple of times and assume some error on > > >>>>my part is the cause of the problem. > > >>>> > > >>>>I've tried it with and without bacula-fd ./configured as static. > > >>>> > > >>>>In my first attempt I compiled non-static: > > >>>>1. start-network failed because the mask was 255.0.0.0 on a 192.168 > > >>>>network, and no gateway. > > >>>>2. there was no bacula-fd.conf anywhere after booting. To determine > > >>>>this, from / I ran ls -Rl|grep bacula-fd. > > >>>>3. hard drive partition didn't in that the last partition created > > >>>>exceeded the available space on the disk. > > >>>> > > >>>>I recompiled the fd from /root/bacula-1.38.11/ with: > > >>>>./configure --bindir=/usr/bin --sbindir=/usr/sbin --enable-static-fd -- > > >>>>enable-client-only > > >>>> > > >>>>"make all" created an image that used the bacula-fd.conf from the > > >>>>bacula-1.38.11/src folder, instead of the one from /etc/bacula. > > >>>> > > >>>>Booting this cd and running start-network again set a network config > > >>>>with the wrong mask, and no gateway. > > >>>> > > >>>>So, before I spend another few days trying to patch this, can anyone see > > >>>>what I'm doing wrong? > > >>>> > > >>>>TIA, > > >>>>Don. > > >>>> > > > >>>>------------------------------------------------------------------------- > > >>>>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 > > >> > > >>------------------------------------------------------------------------- > > >>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 > > > > -- > > IT-Service Lehmann [EMAIL PROTECTED] > > Arno Lehmann http://www.its-lehmann.de > > > > ------------------------------------------------------------------------- > > 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