08-08-2015 05:55 AM
Hi,
I'm trying to initiate the job from master server nmbackup1 using the below command
bprestore -K -S nmbackup5 -C ln93sae -D ln93app1 -s 07/30/2015 -e 07/30/2015 -R /home/wpdcops/rajalegal/GeorgeGraham/nmjmh2/rename072015 /notes/ln9323/mail/nmjmh2.nsf
The restore job fails with the error code "(2800) Standard policy restore error".
The above command works fine if I use this in nmbackup5 master server.
This command "bprestore -K -C ln93sae -D ln93app1 -s 07/30/2015 -e 07/30/2015 -R /home/wpdcops/rajalegal/GeorgeGraham/nmjmh2/rename072015 /notes/ln9323/mail/nmjmh2.nsf" works fine in nmbackup1 server.
nmbackup1 is AIX server with nbu 7.5 version
nmbackup5 is netbackup applicance 7.6 version.
The detailed is as below:
08/07/2015 10:57:32 - begin Restore
08/07/2015 10:57:32 - Info bprd (pid=24192) Found (446739) files in (34) images for Restore Job ID 225254.xxx
08/07/2015 10:57:32 - restoring from image ln93sae_1438298424
08/07/2015 10:57:32 - requesting resource @aaaag
08/07/2015 10:57:33 - Info bprd (pid=24192) Searched ( 1) files of (446739) files for Restore Job ID 225254.xxx
08/07/2015 10:57:33 - Info bprd (pid=24192) Restoring from copy 1 of image created Thu Jul 30 18:20:24 2015 from policy 3_Notes_unix_mail
08/07/2015 10:57:33 - granted resource MediaID=@aaaag;DiskVolume=PureDiskVolume;DiskPool=dp_disk_nmbpapp51;Path=PureDiskVolume;StorageServer=nmbpapp51;MediaServer=nmbpapp51
08/07/2015 10:57:34 - Info bpbrm (pid=28217) ln93app1 is the host to restore to
08/07/2015 10:57:34 - Info bpbrm (pid=28217) reading file list for client
08/07/2015 10:57:34 - Error bpbrm (pid=28217) bpcd on nmbackup1 exited with status 59: access to the client was not allowed
08/07/2015 10:57:34 - Error bpbrm (pid=28217) cannot put rename file on ln93app1
08/07/2015 10:57:34 - Info tar (pid=0) done. status: 59: access to the client was not allowed
08/07/2015 10:57:34 - Error bpbrm (pid=28217) client restore EXIT STATUS 59: access to the client was not allowed
08/07/2015 10:57:34 - restored from image ln93sae_1438298424; restore time: 0:00:02
08/07/2015 10:57:35 - Warning bprd (pid=24192) Restore must be resumed prior to first image expiration on Sat 31 Oct 2015 06:20:24 PM CDT
08/07/2015 10:57:35 - end Restore; elapsed time 0:00:03
Standard policy restore error (2800)
Please help
Solved! Go to Solution.
08-31-2015 07:07 AM
Another thought - your usage of -R option seems incorrect.
-R is to specify a 'rename file'. This rename-file is a text file that specifies source and destination path.
Extract from Commands manual:
-R rename_file
Specifies the name of a file with name changes for alternate-path restores.
For example: bprestore -R /C/renamefile /C/origfile
Where /C/rename_file is the file with the name change and /C/origfile is
the file to be renamed. The pathname that you enter must be an absolute path.
Use the following form for entries in the rename file:
change backup_filepath to restore_filepath
(more in Commands manual....)
08-10-2015 10:18 PM
You cannot restore files between NetBackup domains. The master, its media servers and all its clients are locked in one domain. The only inter domain operations that are possible is the replication of images via AIR.
08-10-2015 10:38 PM
Thank you Riaan. Is there is any other way to start the restore from different master server?
08-10-2015 10:51 PM
08-11-2015 12:44 AM
Explain why you want to do this, maybe there is another way.
08-11-2015 04:31 AM
You can restore across master servers, just add a 'server=sourcemaster' entry in teh bp.conf file of the target master server.
And be very careful.
And probably best to remove 'bp.conf' entry from teh target master server when you have finished.
And also consider 'version' of source and target - i.e. you probably don't want to attempt to restore from a lower version to a higher version of NetBackup.
It all seems a bit risky to me. Very nasty things could happen as a result of a seemingly simple mistake.
Why not restore to a 'client' in the source domain, and then copy across via NFS?
08-27-2015 01:16 PM
Hi,
Sorry for the delay.
I've cheked the server entries in both the servers.
I've also checked the pot 1556 from both the servers.
Actually I've a script to restore a mentioned file from each month's backup. We need restore 12 versions of those file from each month.
Before two months we have changed that server to different master server. So now we have restore August and July month version from this master server. And other versions such as June, may. april etc from old master.
To do this I need to run the script in both master servers.
If I can restore using the above command ( mentioned in the query) I need not run the script in two master.servers.
08-27-2015 11:25 PM
Scenario 1 - backup image exists in catalog of master A, but does not exist in catalog of master B - then master B cannot perform the restore, only a client or media server or master server in NetBackup domain A can perform the restore.
Scenario 2 - backup image exists in catalog of master A, and also exists in catalog of master B, i.e. the backup image has been previously replicated between the NetBackup domains at some point - then a client or media server or master server in either domain can perform a restore.
Summary: A client, media server, or master server cannot restore anything which is not listed within the catalog for that NetBackup domain.
08-29-2015 02:53 PM
Okay sdo. Thank you.
08-29-2015 03:01 PM
But here the scenario is the catalog is available ONLY is MasterB (nmbackup5). But I'm triggering the restore job from the Master A (nmbackup1). using the command "bprestore -K -S nmbackup5 -C ln93sae -D ln93app1 -s 07/30/2015 -e 07/30/2015 -R /home/wpdcops/rajalegal/GeorgeGraham/nmjmh2/rename072015 /notes/ln9323/mail/nmjmh2.nsf"
The job is initiating in MasterB, but its failing with the error 2800.
08-29-2015 08:38 PM
08-31-2015 07:07 AM
Another thought - your usage of -R option seems incorrect.
-R is to specify a 'rename file'. This rename-file is a text file that specifies source and destination path.
Extract from Commands manual:
-R rename_file
Specifies the name of a file with name changes for alternate-path restores.
For example: bprestore -R /C/renamefile /C/origfile
Where /C/rename_file is the file with the name change and /C/origfile is
the file to be renamed. The pathname that you enter must be an absolute path.
Use the following form for entries in the rename file:
change backup_filepath to restore_filepath
(more in Commands manual....)