Restore directory and contents from tape

Hi,

I have taken a backup of a directory on my tape in using below command

cd /backup
find * -print|backup -ivf '/dev/rmt0' '-U' |tee -a /syslogs/backup.log 

and output appear in below format.

a                      0 rman-before-08032014
a  58403323904 rman-before-08032014/20140309_dbfile_5196
a  64943521792 rman-before-08032014/20140309_dbfile_5197
a  59383701504 rman-before-08032014/20140309_dbfile_5198

Now I am trying to restore above backed up rman-before-08032014 directory and all its contents from tape in particular directory but unable to do so. I am giving below command to restore

cd /rman
restore -xqdvf ./rman-before-08032014

I don't know what wrong I am doing. Please help

Thanks

Just taking a quick guess before I go to bed. Isn't your data on tape? I think you need to mount the tape. Then tell restore -f /dev/rmt0 . Good luck!

Resolved by using command

restore -xqf /dev/rmt0 rman-before-08032014/*

:b:
Thanks