HP LTO Ultrium 5 tape drives UNIX, Linux and OpenVMS configuration guide (March 2010)

2. Change directory to root:
nl
% cd /
3. Back up /stand/vmunix to tape:
nl
% tar cvf /dev/rmt/c4t3d0BESTnb ./stand/vmunix
Note the prefix of . to the filename.
4. Change to the temporary directory:
nl
% cd /tmp
5. Extract the file from the tape:
nl
% tar xvf /dev/rmt/c4t3d0BESTnb
6. Compare the original with the restored version:
nl
% cmp /stand/vmunix /tmp/stand/vmunix
Note that the original filename is not prefixed with ..
UNIX, Linux and OpenVMS configuration guide 33