![]() |
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() |
![]() |
To access the contents, click the chapter and section titles.
Complete Idiot's Guide to Linux
restore ExamplesRestoring interactively is easier than using the command line. However, you can do this too. To restore a particular file, specify the -x option and provide a path relative of root, like this: restore -x home/alberto/file.rtf -f /dev/nst0 The preceding command will extract (-x) the file specified (/home/alberto/file.rtf) from the tape to the current directory. If the directory path doesnt exist, restore will create them. Its a good idea to change directory to /tmp so that recovered files go to a safe place and existing files are not overwritten. After the file has been recovered, you can move the file to its final destination. To create a catalog from files on a dump tape, use the -t option. Unless you know that your tape drive supports read-behind-write verification, it is always a good idea to create a catalog from your tape. This will ensure that the backup tape 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.txt This will create a file called tapecat.txt with the listing of the files on your tape. Graphical Backup ProgramsThere are a couple of graphical backup programs available: BRU2000, included on your CD, and KDat, a KDE backup application (go to http://www.kde.org for more information on KDat). BRU2000Currently, OpenLinux is including a license to BRU2000, a program that can be used both through the command line and a graphical interface to perform dump-like backups of your system. The big advantage over dump is in using its graphical user interface, so it is easy to use. Not having to worry about tape sizes and other insidious details could be well worth it. Using the program is self-explanatory. You first select your backup device (/dev/nst0 or whatever applies to you). To create your backup device, just use the New Device command under the File menu. After youve selected your backup device, youll need to pick your backup options from the Backup command under the options menu. A dialog box will require various settings. Then click the 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 the backup strategy discussed in the section A Backup Strategy. Here are some screen shots of the program:
|
![]() |
Products | Contact Us | About Us | Privacy | Ad Info | Home
Use 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 is prohibited. Read EarthWeb's privacy statement. |