cancel
Showing results for 
Search instead for 
Did you mean: 

Error Code 2850 on restore standard policy

shahriar_sadm
Level 6

Hi Dear all,

I have a success standard backup from a media server, when I try to restore on test server its failed with status code 2850. I think its not failed, its incomplete with gray stop sign in job id! In restore log i see status0  (successful) and after that I have "failed to get status code information(2850). wen I try restore some files randomly some times I have success and some times I have status 2850. 

Media server is windows 2008,

Master server is UNIX, 

Policy: Standard,

Thanks 

Shahriar

1 ACCEPTED SOLUTION

Accepted Solutions

sdo
Moderator
Moderator
Partner    VIP    Certified

This link:

https://www.veritas.com/community/forums/cross-platform-restore?page=0

...says:

Yes - Linux -> Windows

No - Windows -> Linux

...but officially the "Linux -> Windows" is not supported.  Are you really willing to take the risk with your data?

View solution in original post

13 REPLIES 13

Nicolai
Moderator
Moderator
Partner    VIP   

Please show us the text form activity monitor.

Policy type standard indicate that source and destination client is UNIX/Linux - correct ?

Cross OS restore is not supported .e.g UNIX/Linux to Windows.

sdo
Moderator
Moderator
Partner    VIP    Certified

Not enough detail.

1) Master Server - which Unix and version?  Which NetBackup Server version?

2) Media Server - which Windows 2008 version?  Which NetBackup Server version?

3) Original backup client name?  OS and version?  NetBackup Client version?

4) Target restore client name?  OS and version?  NetBackup Client version?  Which paths are you attempting to restore?

5) Please show activity log from a failed restore.

shahriar_sadm
Level 6

Hi,

01/28/2016 11:34:32 AM - begin Restore
01/28/2016 11:34:33 AM - 1 images required
01/28/2016 11:34:33 AM - media L60012 required
01/28/2016 11:34:34 AM - restoring image topup4_1453816050
01/28/2016 11:34:35 AM - requesting resource L60012
01/28/2016 11:34:35 AM - granted resource L60012
01/28/2016 11:34:35 AM - granted resource HP.ULTRIUM6-SCSI.034
01/28/2016 11:43:28 AM - restored image topup4_1453816050 - (the restore failed to recover the requested files(5)); restore time 00:08:54
01/28/2016 11:43:28 AM - Warning bprd(pid=6712) Restore must be resumed prior to first image expiration on INFINITY      
01/28/2016 11:43:28 AM - end Restore; elapsed time: 00:08:56
01/28/2016 11:51:15 AM - Info bpbrm(pid=29644) restore-linux is the host to restore to      
01/28/2016 11:51:15 AM - Info bpbrm(pid=29644) telling media manager to start restore on client     
01/28/2016 11:51:15 AM - Info bpbrm(pid=29644) spawning a brm child process        
01/28/2016 11:51:15 AM - Info bpbrm(pid=29644) child pid: 29647          
01/28/2016 11:51:15 AM - connecting
01/28/2016 11:51:16 AM - Info bpbrm(pid=29647) start tar on client         
01/28/2016 11:51:16 AM - Info tar(pid=29650) Restore started.           
01/28/2016 11:51:16 AM - connected; connect time: 00:00:01
01/28/2016 11:51:17 AM - mounted
01/28/2016 11:51:17 AM - Info bptm(pid=29646) L60012            
01/28/2016 11:51:17 AM - Info bptm(pid=29646) INF - Waiting for positioning of media id L60012 on server restore-linux for reading.
01/28/2016 11:51:17 AM - positioning L60012 to file 12
01/28/2016 11:52:53 AM - positioned L60012; position time: 00:01:36
01/28/2016 11:54:01 AM - begin reading
01/28/2016 12:00:08 PM - Info tar(pid=29650) done. status: 0          
01/28/2016 12:00:08 PM - Info tar(pid=29650) done. status: 5 - the restore failed to recover the requested files 
01/28/2016 12:00:08 PM - Info bpbrm(pid=29644) sending message to media manager: STOP RESTORE topup4_1453816050     
01/28/2016 12:00:08 PM - end reading; read time: 00:06:07
01/28/2016 12:00:09 PM - Info bpbrm(pid=29644) media manager for backup id topup4_1453816050 exited with status 0: the requested operation was successfully completed
Restore error(2850)

 

Thanks

shahriar_sadm
Level 6

Hi,

1) Master Server - which Unix and version? Centos 5.7  Which NetBackup Server version? NBU 7.5

2) Media Server - which Windows 2008 version? Windows 2008 R2 Which NetBackup Server version? NBU 7.5

3) Original backup client name?  OS and version?  NetBackup Client version? I try to backup from media server not any client involve

4) Target restore client name? restore-linux  OS and version? Centos 6  NetBackup Client version? NBU 7.5 Media  Which paths are you attempting to restore? f:\export to /app

Thanks

sdo
Moderator
Moderator
Partner    VIP    Certified

See Nicolai's point.  Cross OS restore is not supported, i.e. you can expect any restore between different OS of original backup client and target restore client to fail.  Restore a Windows backup to a Windows client.  Restore a Linux backup to a Linux client.

Michal_Mikulik1
Moderator
Moderator
Partner    VIP    Accredited Certified

Hello,

I think info about OS/NBU versions is not relevant for this issue. But you are attempting to restore F:\export file onto /app? So Windows to Linux - then you should not use Standard but MS-Windows policy type for initial backups.

So it seems to be a policy misconfiguration combined with source/target path mismatch. Correct these things and reattempt the restore.

Michal

sdo
Moderator
Moderator
Partner    VIP    Certified

This link:

https://www.veritas.com/community/forums/cross-platform-restore?page=0

...says:

Yes - Linux -> Windows

No - Windows -> Linux

...but officially the "Linux -> Windows" is not supported.  Are you really willing to take the risk with your data?

Marianne
Level 6
Partner    VIP    Accredited Certified

OS and NBU version is always relevant.

Especially here where restore of Windows backup is attempted to Linux client.
Simply not supported.

Windows 'family' backups can be restored to other Windows servers and/or clients.

Unix/Linux backups can be restored to other Unix/Linux servers/clients.

Nicolai
Moderator
Moderator
Partner    VIP   

Netbackup Restore Restrictions and notes

http://www.veritas.com/docs/000068025

Quote:

Cross-platform restore of individual files is not supported. You can restore Windows files to Windows guest operating systems but not to Linux. You can restore Linux files to supported Linux guest operating systems but not to Windows. In other words, the restore host must be the same platform as the files that you want to restore.

shahriar_sadm
Level 6

Hi, Thank you all for response,

There is file system backup include .rar files, I try and restore some rar files (without parent directory) on linux restore server and restore was completed but when I select all directories to restore, restore successful but failed to get status code (2850), still you think windows restore server will solve my issue?

Thanks

Marianne
Level 6
Partner    VIP    Accredited Certified

Do you have a problem believing us?

You cannot expect Windows directory structure to be created on Linux.

Restore Windows backup to a Windows client.

One more thing - it looks as if the backup of Windows media server (which is also the Client in the backup and restore) was done with Standard Policy type.
Is this correct?

This in itself can cause other problems as the Windows attributes will not be stored in NBU catalog.

As stated in other replies above - Windows Servers/Clients must be backed up using MS-Windows Policy type.

shahriar_sadm
Level 6

Hi, with all respect, I believe you :)  that' s not what I meant, anyway Yes, Backup from MS-Windows files done with standard policy ( I tried standard backup for file system backup before for win and lin) So, I have to change my policies and try backup windows files with ms-windows policy?

For restore, I will install Windows based test server and will resore files, and inform you about result.

Thanks 

sdo
Moderator
Moderator
Partner    VIP    Certified

Good that it's fixed now.