backup disk to disk to tape question

Hi all

I had started to learn how to backup disk to disk to tape method
Firstly I had backup to my NAS

tar czvf /MyNetworkStorge/backup.tar /home 

Secondly I using dd command to copy the tar to tape

dd if=/MyNetworkStorge/backup.tar of=/dev/tape0

But the tape drive always hang.
Is that any command to copy the tar file to tape without problem or
did i do anything wrong?

thanks in adv
jiajin

Hint: tar is the abbreviation of "Tape ARchiver"

Sir
thank for quick reply

that mean i need to issue two tar command
first tar to NAS
second tar to tape

tar cvzf /dev/tape0 /home

thanks

jiajin

maybe i slow
I using this command to solve the problem

tar czvf /MyNetworkStorage/backup.tar /home | tar cvf /dev/tape0 /home

jiajin

which uses an completely unnecessary pipe. Just start whichever tar takes the longest first, then the other, eg:

# tar option 'z' means compress with gzip and the suffix .gz is commonly added
# to reflect that
$ nohup tar cvzf /MyNetworkStorage/backup.tar.gz /home &
$ tar cvf /dev/tape0 /home

thankyou sir.

jiajin