|
From: Thomas L. <tho...@ho...> - 2005-10-04 01:02:01
|
... what I'm really asking about is webmin itself... if I was running 1.230 before, can the webmin files in /etc/ and the usermin files in /etc/ be recovered straight up, off the old machine (since the new one will have the same IP addrs and hostname)? Thomas -- Thomas Leavitt -- tho...@ho..., Sr. Systems Admin For Hire Resume at http://www.thomasleavitt.org/personal/resume/ Wired since 1981. Internet-enabled since 1990. Web-enabled since 1993. Older, wiser, and poorer, post-crash. :) >From: Joe Cooper <jo...@sw...> >Reply-To: web...@li... >To: web...@li... >Subject: Re: [webmin-l] Recovery from backup. >Date: Mon, 03 Oct 2005 17:10:33 -0500 >MIME-Version: 1.0 >Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by >MC6-F2.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Mon, 3 Oct 2005 >15:12:25 -0700 >Received: from projects.sourceforge.net (sc8-sf-list1-b.sourceforge.net >[10.3.1.7])by sc8-sf-spam1.sourceforge.net (Postfix) with ESMTPid >CC63A325AE; Mon, 3 Oct 2005 15:08:15 -0700 (PDT) >Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] >helo=mail.sourceforge.net)by sc8-sf-list1.sourceforge.net with esmtp (Exim >4.30)id 1EMYSm-0002JM-EDfor web...@li...; Mon, 03 >Oct 2005 15:07:12 -0700 >Received: from mail2.enthought.com ([216.62.213.227] >helo=mail.enthought.com)by mail.sourceforge.net with esmtp (Exim 4.44)id >1EMYSj-0003ye-8Bfor web...@li...; Mon, 03 Oct 2005 >15:07:12 -0700 >Received: from localhost (localhost [127.0.0.1])by mail.enthought.com >(Postfix) with ESMTP id BA96E296for <web...@li...>; >Mon, 3 Oct 2005 17:07:02 -0500 (CDT) >Received: from mail.enthought.com ([127.0.0.1]) by localhost >(mail.enthought.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id >06310-02 for <web...@li...>; Mon, 3 Oct 2005 >17:06:55 -0500 (CDT) >Received: from [192.168.1.125] (vpn.enthought.com [216.62.213.230])by >mail.enthought.com (Postfix) with ESMTP id 05F2A295for ><web...@li...>; Mon, 3 Oct 2005 17:06:54 -0500 >(CDT) >X-Message-Info: N4u0pqWW+O0dtsgXq/aluAFd4Mf7IuLwRO0a+bMvIsc= >User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) >X-Accept-Language: en-us, en >References: <BAY...@ph...> >X-Virus-Scanned: amavisd-new at mail.enthought.com >X-Spam-Score: 0.0 (/) >X-Spam-Report: Spam Filtering performed by sourceforge.net.See >http://spamassassin.org/tag/ for more details.Report problems to >http://sf.net/tracker/?func=add&group_id=1&atid=200001 >Errors-To: web...@li... >X-BeenThere: web...@li... >X-Mailman-Version: 2.0.9-sf.net >Precedence: bulk >List-Unsubscribe: ><https://lists.sourceforge.net/lists/listinfo/webadmin-list>,<mailto:web...@li...?subject=unsubscribe> >List-Id: Webmin users list <webadmin-list.lists.sourceforge.net> >List-Post: <mailto:web...@li...> >List-Help: ><mailto:web...@li...?subject=help> >List-Subscribe: ><https://lists.sourceforge.net/lists/listinfo/webadmin-list>,<mailto:web...@li...?subject=subscribe> >List-Archive: ><http://sourceforge.net/mailarchive/forum.php?forum=webadmin-list> >X-Original-Date: Mon, 03 Oct 2005 17:10:33 -0500 >Return-Path: web...@li... >X-OriginalArrivalTime: 03 Oct 2005 22:12:25.0837 (UTC) >FILETIME=[892A61D0:01C5C867] > >Hi Thomas, > >Since you have upgraded to a new version of your OS (and subsequently new >versions of all of your applications), I would advise you proceed with >caution and restore only the files you need. > >The configuration file backup is extremely useful in a situation where you >are restoring from a system backup and want to get the latest version of >your configuration files (and in this case you can just unroll the tarball >right into /etc and expect everything to work fine). Or, it can be used as >a "butt saver" as you've discovered, in case you screw up a working >configuration...in that case you pull out the one bad file. > >In your case, however, a wholesale configuration file overwrite with old >versions will be quite calamitous (OK, probably only for some files...but >knowing which files is where the fun comes in). > >If I were in your situation, I would restore into a temporary directory, >make a backup copy of the "new" /etc directory, and then copy in the files >for each service, one at a time. Restart the service, test it as >thoroughly as you can, and then move on to the next. I'm betting theres >only a few (maybe a dozen) files in /etc that actually need to be >restored--most of my full-service (web, mail, database, Subversion, etc.) >servers have about that many. Of course, some services put data elsewhere, >which is simply lost if you don't have a backup. Databases store data and >much configuration in /var, for example. > >Hope this helps. > >Thomas Leavitt wrote: >>Well, I didn't do a filesystem backup... that doesn't really work on an >>active/root filesystem (at least that's my experience). >> >>What I did was a configuration file backup (which actually saved my butt >>about 15 minutes later when I stomped an apache config file, which is why >>i did it). >> >>So, I have tmp/backup-config-manifests >> >>and the full /etc/ >> >>and thus etc/webmin and etc/usermin >> >>... what I'm looking for, is what do I do now? Just copy everything back >>into /etc/ ? >> >>Thomas >> >>-- >>Thomas Leavitt -- tho...@ho..., Sr. Systems Admin For Hire >>Resume at http://www.thomasleavitt.org/personal/resume/ >> >>Wired since 1981. Internet-enabled since 1990. Web-enabled since 1993. >>Older, wiser, and poorer, post-crash. :) >> >> >> >> >>>From: "Tom Klem" <th...@lv...> >>>Reply-To: web...@li... >>>To: web...@li... >>>Subject: Re: [webmin-l] Recovery from backup. >>>Date: Mon, 03 Oct 2005 14:06:35 -0700 >>>MIME-Version: 1.0 >>>Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by >>>mc7-f14.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Mon, 3 Oct 2005 >>>14:07:48 -0700 >>>Received: from projects.sourceforge.net (sc8-sf-list1-b.sourceforge.net >>>[10.3.1.7])by sc8-sf-spam1.sourceforge.net (Postfix) with ESMTPid >>>0743E882A5; Mon, 3 Oct 2005 14:07:44 -0700 (PDT) >>>Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] >>>helo=mail.sourceforge.net)by sc8-sf-list1.sourceforge.net with esmtp >>>(Exim 4.30)id 1EMXWK-0007Ui-IAfor web...@li...; >>>Mon, 03 Oct 2005 14:06:48 -0700 >>>Received: from outmta-2.esr.lvcm.net ([24.234.0.9])by >>>mail.sourceforge.net with esmtp (Exim 4.44)id 1EMXWI-0000ad-62for >>>web...@li...; Mon, 03 Oct 2005 14:06:48 -0700 >>>Received: from localhost (outmta-2.esr.lvcm.net [127.0.0.1])by >>>outmta-2.esr.lvcm.net (Postfix) with ESMTP id E50CE14240for >>><web...@li...>; Mon, 3 Oct 2005 14:06:39 -0700 >>>(PDT) >>>Received: from outmta-2.esr.lvcm.net ([127.0.0.1]) by localhost >>>(outmta-2.esr.lvcm.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP >>>id 09956-06 for <web...@li...>; Mon, 3 Oct 2005 >>>14:06:38 -0700 (PDT) >>>Received: from rskny (wsip-24-234-188-87.lv.lv.cox.net [24.234.188.87])by >>>outmta-2.esr.lvcm.net (Postfix) with ESMTP id 53BB714232for >>><web...@li...>; Mon, 3 Oct 2005 14:06:38 -0700 >>>(PDT) >>>X-Message-Info: N4u0pqWW+O33lFUdlb9GXDebY7kmQvOXb8QjdwQwUsw= >>>References: <BAY...@ph...> >>>X-Mailer: Calypso Version 3.30.00.00 (3) >>>X-Virus-Scanned: amavisd-new at lvcm.net >>>X-Spam-Score: 0.1 (/) >>>X-Spam-Report: Spam Filtering performed by sourceforge.net.See >>>http://spamassassin.org/tag/ for more details.Report problems to >>>http://sf.net/tracker/?func=add&group_id=1&atid=2000010.0 >>>SF_CHICKENPOX_PERIOD BODY: Text interparsed with .0.0 >>>SF_CHICKENPOX_SLASH BODY: Text interparsed with /0.0 >>>SF_CHICKENPOX_MINUS BODY: Text interparsed with -0.0 SF_CHICKENPOX_AT >>> BODY: Text interparsed with @0.0 SF_CHICKENPOX_APOSTROPHE BODY: >>>Text interparsed with ' >>>Errors-To: web...@li... >>>X-BeenThere: web...@li... >>>X-Mailman-Version: 2.0.9-sf.net >>>Precedence: bulk >>>X-Reply-To: th...@lv... >>>List-Unsubscribe: >>><https://lists.sourceforge.net/lists/listinfo/webadmin-list>,<mailto:web...@li...?subject=unsubscribe> >>> >>>List-Id: Webmin users list <webadmin-list.lists.sourceforge.net> >>>List-Post: <mailto:web...@li...> >>>List-Help: >>><mailto:web...@li...?subject=help> >>>List-Subscribe: >>><https://lists.sourceforge.net/lists/listinfo/webadmin-list>,<mailto:web...@li...?subject=subscribe> >>> >>>List-Archive: >>><http://sourceforge.net/mailarchive/forum.php?forum=webadmin-list> >>>X-Original-Date: Mon, 03 Oct 2005 14:06:35 -0700 >>>Return-Path: web...@li... >>>X-OriginalArrivalTime: 03 Oct 2005 21:07:48.0249 (UTC) >>>FILETIME=[81F16890:01C5C85E] >>> >>>Enter webmin >>> >>>Click on 'System' >>>Click on 'FileSystem Backup' >>> >>>If you used webmin to make them, they will all be there. >>> >>>I use webmin to do a level 0 once a week, and a level 9 the rest of the >>>time. >>> >>>I've recovered lost files this way many times, and it really does work >>>great. >>> >>>On the other hand, if you just used the dump command without webmin, you >>>will have to use the restore command. See Man pages on that puppy (ich). >>> >>>Tom Klem >>> >>> >>>*********** REPLY SEPARATOR *********** >>> >>>On 10/03/2005 at 1:02 PM Thomas Leavitt wrote: >>> >>> >My root filesystem ate itself over the weekend (IBM "Deathstar" "click >>>of >>> >death"). >>> > >>> >I've decided to go ahead and install the latest version of the >>>operating >>> >system (since my system was two full revisions back of this, and for >>>other >>> >reasons). >>> > >>> >Fortunately, I configured Webmin's backup module, so all my >>>configuration >>> >files are saved. >>> > >>> >I've installed webmin 1.230 from the noarch.rpm (previously, it was >>> >installed from a tarball). >>> > >>> >Can someone please point me to a document explaining how to recover (if >>> >there is such a thing)? >>> > >>> >Regards, >>> >Thomas Leavitt >>> > >>> >-- >>> >Thomas Leavitt -- tho...@ho..., Sr. Systems Admin For Hire >>> >Resume at http://www.thomasleavitt.org/personal/resume/ >>> > >>> >Wired since 1981. Internet-enabled since 1990. Web-enabled since 1993. >>> >Older, wiser, and poorer, post-crash. :) >>> > >>> > >>> > >>> > >>> >------------------------------------------------------- >>> >This SF.Net email is sponsored by: >>> >Power Architecture Resource Center: Free content, downloads, >>>discussions, >>> >and more. http://solutions.newsforge.com/ibmarch.tmpl >>> >- >>> >Forwarded by the Webmin mailing list at >>>web...@li... >>> >To remove yourself from this list, go to >>> >http://lists.sourceforge.net/lists/listinfo/webadmin-list >>> >>> >>> >>> >>> >>> >>>------------------------------------------------------- >>>This SF.Net email is sponsored by: >>>Power Architecture Resource Center: Free content, downloads, discussions, >>>and more. http://solutions.newsforge.com/ibmarch.tmpl >>>- >>>Forwarded by the Webmin mailing list at >>>web...@li... >>>To remove yourself from this list, go to >>>http://lists.sourceforge.net/lists/listinfo/webadmin-list >> >> >> >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by: >>Power Architecture Resource Center: Free content, downloads, discussions, >>and more. http://solutions.newsforge.com/ibmarch.tmpl >>- >>Forwarded by the Webmin mailing list at >>web...@li... >>To remove yourself from this list, go to >>http://lists.sourceforge.net/lists/listinfo/webadmin-list > > > >------------------------------------------------------- >This SF.Net email is sponsored by: >Power Architecture Resource Center: Free content, downloads, discussions, >and more. http://solutions.newsforge.com/ibmarch.tmpl >- >Forwarded by the Webmin mailing list at web...@li... >To remove yourself from this list, go to >http://lists.sourceforge.net/lists/listinfo/webadmin-list |