RE: tape drive not recognized Hi annihilannic, Sorry to bother you again. Is it possible to take backup of root directory itself from terminal mode? Be careful using tar to backup the root filesystem because it will probably back up all your other filesystems at the same time.
Perhaps use ufsdump instead presuming your root filesystem is UFS of course? Depending on recived wisdom you should shut down to single user mode init S to do a root backup but in practice this is impractical and I've never had a problem from multi-user mode. Be aware that if you use tar to back up root it will recursively back up all your other mounted filesystems as well.
Have a look at using ufsdump to selectively back up each filesystem as a better solution or indeed a commercial app. If not, you are simply copying the files to and from a file on disc and will eventually fill up your root filesystem. I haven't explored the possibilities of Appending to the tape drive and ufsdump command. Tips about above two are most welcomed!! This can considerably reduce the amount of data backed up on a daily basis. Using ufsrestore you can restore the entire saveset or an selection of individual files using a simple command based gui.
Appending data to tape relies on the use of the no-rewind device your tape device with an n on the end. Normally at the end of a tape operation the device driver rewinds the tape to the beginning automatically. With the no-rewind device, the tape head is left where it was when the command completed allowing you to call another tape command to append data at this point. Each save tar, ufsdump etc. Warning - If you don't use the no-rewind device, the tape will automatically rewind and overwrite the data at the beginning of the tape You can manually position the tape using the mt command when you need to start recovery from a specific archive.
Red Flag This Post Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework. The Tek-Tips staff will check this out and take appropriate action.
Click Here to join Tek-Tips and talk with other members! Already a Member? Join your peers on the Internet's largest technical computer professional community. It's easy to join and it's free. Register now while it's still free! Always wear an antistatic wriststrap if possible. If it is not possible to wear an antistatic wriststrap, to equalize the electromagnetic charges, touch a bare metal part of the server such as the back plate before you remove the tape drive from its bag.
Note: This command may take some time to execute. All these names listed above refer to the first tape drive connected to the system, and these names have a prefix of "0".
Learn more. Asked 12 years, 6 months ago. Active 11 years, 8 months ago. Viewed 3k times. Improve this question. Hassan Hassan 21 1 1 silver badge 4 4 bronze badges. Add a comment. Active Oldest Votes. Improve this answer. LapTop LapTop 6, 18 18 silver badges 26 26 bronze badges. Kamy Kamy 1 1 silver badge 4 4 bronze badges.
0コメント