cancel
Showing results for 
Search instead for 
Did you mean: 

Backup by window and Restore by linux.

vishal_nechclst
Level 4

-I have two machines master server on Windows machine and one media on linux.

-then i have tacken backup from Master server(window machine).

-after that i have imported image on media server(linux machine).image import(both phase 1 and 2) command have run successfully.

-but i am unable to restore data on linux machine

please give me solution.

after create diskpool,storageunit,and policy commands on Master(windows)-

/cygdrive/C/Program\ Files/Veritas/NetBackup/bin/admincmd/bpplinclude pl -add /C/tmp/testb

/cygdrive/C/Program\ Files/Veritas/NetBackup/bin/admincmd/../bpbackup -p pl -s sch -i  -w

/cygdrive/C/Program\ Files/Veritas/NetBackup/bin/admincmd/bpexpdate -backupid jpvm013_1338361569 -nodelete  -force -d 0

commands on media(linux)-

 /usr/openv/netbackup/bin/admincmd/bpimport -create_db_info -stype NEC_HYDRA -dp dp1 -dv lsu1

Import phase 1 started 05/30/12 11:21:07
INF - Create DB information for path @aaar6.
INF - Initiation of bpdm process to phase 1 import path @aaar6 was successful.

/usr/openv/netbackup/bin/admincmd/bpimport -backupid jpvm013_1338361569

Import phase 2 started 05/30/12 11:21:31
INF - Importing policy pl, schedule sch (jpvm013_1338373055), path @aaar6, created on 05/30/2012 11:17:35.
INF - Import of policy pl, schedule sch (jpvm013_1338373055) was successfully completed.

INF - Imported 1 of 1 images successfully.

/usr/openv/netbackup/bin/admincmd/../bprestore -B -p pl  -w /root/testb/
EXIT STATUS 227: no entity was found

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Yogesh9881
Level 6
Accredited

You dont mentioned what was the OS of that old client...?

Different filesystem restoration is NOT supported in Netbackup....

file may recovered without any error but no guaranty about consistency

http://www.symantec.com/business/support/index?page=content&id=TECH31677

 

View solution in original post

9 REPLIES 9

Yogesh9881
Level 6
Accredited

You dont mentioned what was the OS of that old client...?

Different filesystem restoration is NOT supported in Netbackup....

file may recovered without any error but no guaranty about consistency

http://www.symantec.com/business/support/index?page=content&id=TECH31677

 

Andy_Welburn
Level 6

it doesn't necessarily say it won't work, just that it's not supported & results are not guaranteed.

VERITAS NetBackup (tm) will allow the restore of data from a supported Windows (Fat32/NTFS) filesystem to a supported UNIX (ufs, xfs, efs, ext2, ext3, etc) filesystem.  However, due to the major differences between Windows filesystem and UNIX, the data of binary files will not be translated properly when the restore completes.

 

The error you're getting isn't a failure per se (yet!) just saying that it can't find anything.

Now the EC=227 is a favourite with the bplist command (for me anyway) & here this could simply be that you are not providing it with enough info initially.

e.g.

-t policy_type

          Specifies  one  of  the  following  numbers   that
          corresponds  to  the policy type. The default is 0
          for all clients except Windows, where the  default
          is 13.

This is coming from Windows (default 13) but restoring from Linux (default 0) so maybe the issue is there? Just an idea but I'm not holding my breath ....

mansoor_sheik
Level 6
Certified

Hi Vishal,

As per above tech note, it is not possible in Netbackup.

But u can try to restore only files not the directory.

Kindly create the directory and try to restore the files.Its just an idea.

vishal_nechclst
Level 4

Thanks all for reply.

But i have one more problem now i tried with three machine-

1-windows Master

2-Linux Media

3-Linux Media

now i have taken backup from Machine 2 and through image import on machine 3 i tried to restore but i found exit status 227.but when we run restore command on machine 2 it passed successfully.

i also do following setting on master server-

http://www.symantec.com/business/support/index?page=content&id=TECH7582

Please give me apropriate solution.

and i have one more doubt -

i am unable to create policy on media server, my question is-Is it complusary policy must be on master server?

mph999
Level 6
Employee Accredited

If media 2 and 3 are on the same master server you do not need to run an import.

If you add in bp.conf

 

FORCE_RESTORE_MEDIA = 2-Linux Media 3-Linux Media

This will allow media 3 to run the restore of backups taken by media 2,

Remove entry when finished.

You do not create policies on media servers, they only go on the master.

Martin

vishal_nechclst
Level 4

Thanks for your reply.

yes media 2 and 3 are on the same master.

if i  do not use

FORCE_RESTORE_MEDIA = 2-Linux Media 3-Linux Media

then also my import command is not working.

mph999
Level 6
Employee Accredited

You do not need to import the image just to restore it using a separate media server, unless the image has 'expired'.  As you explained you could restore from media2 , then this will not be the case.

We only import images when they have expired.

Martin

vishal_nechclst
Level 4

In above case i forgot to mentioned- after image expiration i run the image import case.

then after i  have exit status 227.

and  when we  use (without image expire):-

FORCE_RESTORE_MEDIA = 2-Linux Media 3-Linux Media

then also i got the status 227

mph999
Level 6
Employee Accredited

My error, should be FORCE_RESTORE_MEDIA_SERVER = 2-Linux Media 3-Linux Media

Sorry ...