1834814 Members
2629 Online
110070 Solutions
New Discussion

Re: Vxrestore problem

 
Akif_1
Super Advisor

Vxrestore problem

Hi All,

Iam in trouble, hope with all your valuable contribution, can help me to solve this VXRESTORE issue.

Iam taking backup of my file system in DLT tape with the help of
#vxdump -0 -u -f /dev/rmt/0mn . It is done successfully , I can view the files which is backup on tapes with the help of #vxrestore -i

But the problem is iam unable to restore it back with the help of #add then #extract. As i backup in a single tape only.

The messages iam getting :
vxrestore:wrong volume(1)
vxresotre:you have not read any tapes yet unless you know which volume your file(s) are on you should start with the last volume and work towards the first.

Help me to vxrestore my selected file in the different or same location of the file system with DLT tape backup.

Note: OS is HP-UX B.11.11.U 9000/800.

I appreciate your valuable help.
T(ogether) E(very one) A(chive) M(ore)
7 REPLIES 7
Hasan  Atasoy
Honored Contributor

Re: Vxrestore problem

hi akif ;

vrestore -if /dev/rmt/omn
can you see backupped files by ls in the prompt.

hasan.
Akif_1
Super Advisor

Re: Vxrestore problem

Hi,

Yes i can view all the backup files.

Thanks
T(ogether) E(very one) A(chive) M(ore)
rajdev
Valued Contributor

Re: Vxrestore problem

Hi,

after you do the add , do ls and are you able to see the files you selected with a '*' before them ?

Regards,
RD
Akif_1
Super Advisor

Re: Vxrestore problem

Hi Raj,


Yes i can view * marks on the selected files with the help of #vxrestore>add command. But after that #vxrestore>extract . The file are not restoring to their place.

Help me to restore my selected file in the different or same location of the file system with DLT tape backup.

Note: OS is HP-UX B.11.11.U 9000/800.

I appreciate your valuable help.
T(ogether) E(very one) A(chive) M(ore)
rajdev
Valued Contributor

Re: Vxrestore problem

Hi Akif,

What is the full vxrestore command that you are giving,


try this
vxrestore -i -f /dev/rmt/0mn

add the files that you want, then when it says that you have not read any tapes etc...... it should prompt you for some volume , just type 1 and Enter
see if it can restore.

Also is the DLT drive you are using for the backup and restore same model ?

if nothing works , go to a different filesystem and extract the whole tape and see if it works ..

cd /mnt
vxrestore -r -f /dev/rmt/0mn


Regards,
RD
Akif_1
Super Advisor

Re: Vxrestore problem

Hi Raj,

I tried with #vxrestore -i -f /dev/rmt/0mn , Then #vxrestore> add ( I can view * marks on selected folder) and then #vxrestore>extract.

Now volume selected as :1
set owner/mode for '.'? [yn] n ( I selected NO) .

Then it comes to normal prompt VXRESTORE>
and the selected folder is not * marked now.

But the same problem, I did not get my backuped files which i selected even after this process . I tried with different volume as well . It is not working.

Doubt: Do i need to set owner/mode for YES . or NO is ok.

Thanks in Advance
T(ogether) E(very one) A(chive) M(ore)
Akif_1
Super Advisor

Re: Vxrestore problem

Thanks Raj,

We solved this problem,

Backup : vxdump -0 -u -f /dev/rmt/0mn < ex. raj volume name>

Restore: select your restore destination
#cd /archive/restore
#mt fsf 6
#vxrestore -i -f /dev/rmt/0mn
#add required files to restore (ex.abc)
#ls (view above selected file * marked )
#extract
Specify volume :1
setmode Y - to restore file with old permissions
N - to restore file (s) with new hpsmc permission.

Note : Restored file(s) available in above selected destination.


Thaks for all members support
T(ogether) E(very one) A(chive) M(ore)