Display the content of the tape
tar tvf /dev/st0
To backup directory to tape with compression
tar cvzf /dev/st0 /u01/finsys
To restore entire data from the tape
tar -xvf /dev/st0 -C /u01/TEST
To restore specific file from the tape
tar -xvf /dev/st0 u01/PROD/finsys.tar -C /u01/TEST
Reference
http://www.cyberciti.biz/faq/linux-tape-backup-with-mt-and-tar-command-howto/
No comments:
Post a Comment