How To: Forward Tape Content in Tru64
root@machine01:/home/data/backup/databases# mt fsf 1
root@machine01:/home/data/backup/databases# vrestore -t -f /dev/ntape/tape0
vrestore: Date of the vdump save-set: Mon Nov 5 22:22:07 2007
vrestore: Save-set source directory : /home/data/backup/
vrestore: Target directory : /usr1/data/backup/
GOOGLE Search
Tuesday, December 11, 2007
How To: Foward Tape Content in Tru64
Monday, November 19, 2007
Tape Commands in AIX
Useful Tape commands in AIX
1.Rewind and eject the rmt0 tape drive
# tctl -f /dev/rmt0 offline
2.Rewind the rmt0 tape drive
# mt -f /dev/rmt0 rewind
3.Check the content of the tape
#tctl -f /dev/rmt0.1 -b 1024 -n read
Tape Commands in Tru64
*****************************
Useful Tape Commands in Tru64
*****************************
Rewind and unload the tape
mt -t /dev/ntape/tape0 offline
1. rewind the tape
#mt -f /dev/ntape/tape0 rewind
or
#mt rewind
2. check the content
#vrestore -t -f /de/ntape/tape0
3. for interactive resotre
#vrestore -i
add - add the file
restore -restore the file
4. for manual restore
Example: restore jeff02.backup.log file from tape /dev/ntape/tape0/jeff02 to the current directory
# vrestore -x /jeff02/jeff02.backup.log
#vrestore -x -D /tmp /jeff02/jeff02.backup.log
root@jeff02:/tmp# cd /home
root@jeff02:/home# vrestore -x -D /tmp /jeff02/jeff02.backup.log
vrestore: Date of the vdump save-set: Mon Oct 22 20:33:06 2007
vrestore: Save-set source directory : /
vrestore: Target directory : /tmp