[ Pobierz całość w formacie PDF ]
.All rights reserved.Reproduction whole or in part in any form or medium without express written permission of EarthWeb isprohibited.http://www.itknowledge.com/reference/standard/078971826x/ch19/229-231.html (3 of 3) [1/27/2000 5:51:37 PM]Complete Idiot's Guide to Linux:Backups: Safeguarding Your WorkTo access the contents, click the chapter and section titles.Complete Idiot's Guide to Linux(Publisher: Macmillan Computer Publishing)Author(s): Manuel RicartGo!ISBN: 078971826xPublication Date: 12/22/98KeywordBrief FullAdvancedSearch this book:SearchSearch TipsGo!Previous Table of Contents Next-----------restore ExamplesRestoring interactively is easier than using the command line.However, youcan do this too.To restore a particular file, specify the -x option and provide apath relative of root, like this:restore -x home/alberto/file.rtf -f /dev/nst0The preceding command will extract (-x) the file specified(/home/alberto/file.rtf) from the tape to the current directory.If thedirectory path doesn t exist, restore will create them.It s a good idea tochange directory to /tmp so that recovered files go to a safe place andexisting files are not overwritten.After the file has been recovered, you canmove the file to its final destination.To create a catalog from files on a dump tape, use the -t option.Unless youknow that your tape drive supports read-behind-write verification, it is alwaysa good idea to create a catalog from your tape.This will ensure that the backuptape you made contains the correct information and that the tape is readable.To create a catalog, enter the following:restore -t -f /dev/nts0 > tapecat.txtThis will create a file called tapecat.txt with the listing of the files onyour tape.http://www.itknowledge.com/reference/standard/078971826x/ch19/232-234.html (1 of 2) [1/27/2000 5:51:39 PM]Complete Idiot's Guide to Linux:Backups: Safeguarding Your WorkGraphical Backup ProgramsThere are a couple of graphical backup programs available: BRU2000,included on your CD, and KDat, a KDE backup application (go tohttp://www.kde.org for more information on KDat).BRU2000Currently, OpenLinux is including a license to BRU2000, a program that canbe used both through the command line and a graphical interface to performdump-like backups of your system.The big advantage over dump is in usingits graphical user interface, so it is easy to use.Not having to worry about tapesizes and other insidious details could be well worth it.Using the program isself-explanatory.You first select your backup device (/dev/nst0 orwhatever applies to you).To create your backup device, just use the NewDevice command under the File menu.After you ve selected your backupdevice, you ll need to pick your backup options from the Backup commandunder the options menu.A dialog box will require various settings.Then clickthe backup button.This will prompt you for the files you want to back up.From there, click the Start Backup button, and you are on your way.Like dump, BRU supports incremental backups, so you can implement thebackup strategy discussed in the section A Backup Strategy.Here are some screen shots of the program:The BRU2000 program.BRU s backup window.Previous Table of Contents NextProducts | Contact Us | About Us | Privacy | Ad Info | HomeUse of this site is subject to certain Terms & Conditions, Copyright © 1996-2000 EarthWeb Inc.All rights reserved.Reproduction whole or in part in any form or medium without express written permission of EarthWeb isprohibited.http://www.itknowledge.com/reference/standard/078971826x/ch19/232-234.html (2 of 2) [1/27/2000 5:51:39 PM]Complete Idiot's Guide to Linux:Installing Programs and ApplicationsTo access the contents, click the chapter and section titles.Complete Idiot's Guide to Linux(Publisher: Macmillan Computer Publishing)Author(s): Manuel RicartGo!ISBN: 078971826xPublication Date: 12/22/98KeywordBrief FullAdvancedSearch this book:SearchSearch TipsGo!Previous Table of Contents Next-----------Chapter 20Installing Programs and ApplicationsIn This Chapter" RPM: The Red Hat Package Manager" Installing, Upgrading, Downgrading, and Removing Software" Verifying Your System" Graphical Front Ends to RPM" Non-RPM PackagesSoftware installation on Linux is fairly sophisticated through the use of RPM.Although you can install software that has been archived by tar and otherprograms, most of the time you ll want to install RPM packages.It goeswithout saying that when you have a choice on what package format to install,pick the RPM version.RPM packages provide a multitude of benefits, andthat s why we ll cover it in great detail.RPM: The Red Hat Package ManagerRPM is an open software and source packaging system.It was initiallydeveloped for Linux but has since made available for anyone to use under theGPL.RPM is a great packaging system because it not only deals with installingsoftware as other systems have done for years but also maintains a database ofhttp://www.itknowledge.com/reference/standard/078971826x/ch20/235-237.html (1 of 3) [1/27/2000 5:51:40 PM]Complete Idiot's Guide to Linux:Installing Programs and Applicationsinstalled software and their interdependencies.This database is searchable, soyou can find what package a file belongs to, and allows you to even check tosee if the file has been modified, accidentally corrupted, or deleted since itsinitial installation.In terms of dependencies, RPM makes sure that you installany required packages that might be necessary for the operation of othersoftware you are installing.RPM can work through FTP, so you don t need to download software in orderto install it; RPM can do both at the same time
[ Pobierz całość w formacie PDF ]