using tape drive linux
using tape drive linux
  [ Enlarge Image ]  
 
 
<< Back 
Posted: 2006/09/16 by: fcruz. Linux - Unix Blogs.
Sometimes remembering the way to access your tape drive in linux aint that easy, follow this basic guide which has almost all the neccesary commands you might execute on your tape drive.

As I said, this is a very basic guide with pretty much most if not all commands you will probably execute in your tape drive on a linux environment. Enjoy


Check if tapedrive is online:
mt -f /dev/st0 status

Erase tapedrive:
mt -f /dev/st0 erase

Copy some content to a tapedrive
tar cvf /dev/st0 /content_path/content.archive

List files on a tape

tar tvf /dev/st0

Restore from the tape
tar xvf /dev/st0

Restore an specific archive
tar xvf /dev/st0 /folder/archive.dmp

As I always say, hope this was usefull.

Felipe Cruz Ferrero





[ Back ]