05-24-2015 09:05 AM
Hello Experts,
I was restoring one solaris client backup to our master server (Windows)
There are 3 options.
1:- Restore everthing to its original location. Not required.
2:- Restore everything to a different location
Browse option is there but its showing clients destination only. I can not change it to master location.
3:- Restore individua folders and files to different location (Double clict to modify)
If i select the new destination Its again showing client's location. I can not change it to master location.
Where can i put master server location to restore?
Pls help.
Solved! Go to Solution.
05-28-2015 10:33 AM
OK, based on the latest update,I believe you are now wanting to restore files from a Solaris client server to a Linux client server. And as I can tell, the source Solaris client name is monitbkp and the target client name is yxcvbapp-bkp.
If the fully qualified paths in the backup image do not already exist on the target restore server, you only need to change the restore client name in the BAR. There is no need to change the pathing as it does not exist on the target and will not be overwriting anything. After the restore, the identical fully qualified path will now exist on the target client yxcvbapp-bkp. If, however, you want it to go under the directory /backup on client yxcvbapp-bkp, then specify just /backup as the new destination directory. After the restore completes your new files will exist under the /backup directory on the target server.
So basically, the steps to follow are:
1. Open the backup image file listing on the BAR and select the file or files to be restored.
2. Set monitbkp as the source server, set yxcvbapp-bkp as the destination server, and (as needed) set the new location to be /backup. Just to be on the safe side I would make the /backup be an empty directory. When the restore completes, look in the /backup directory for the restored file(s).
BTW, if you were trying this and going to a Windows server (Master or otherwise), and for example you wanted it to go to the local drive L:\backup on that Windows server, the restore location definition would have been /L/backup for the operation.
Hope this is suficient to perform the actions you are trying to do.
05-24-2015 09:31 AM
restore from Solaris client to windows client(which is also master server)...?
sorry it is not supported..
you need to use any other unix client as a destiantion client..
Unix to windows restore is not supported..
05-24-2015 11:57 AM
05-26-2015 02:35 AM
Instead of browse you can type the location.
But as stated above - restore to different OS 'family' (e.g. Unix/Solaris/Linux to Windows) is not supported.
05-27-2015 11:30 AM
As mentioned above, cross platform restores of backup images is not supported by NBU. There actually is TECH article that describes this (the article number escapes me at this time). The format of the restored file on the target server can be indeterminate. A few other situations that can arise:
If the client backup was performed with the "compress" policy option, ALL of the restored files will be unusable. With this policy option enabled, the client's local files are compressed ahead of sending to the media manager. Although the compression algorithm used for Windows and Unix backups are very close, the decompress library on the target server will not recognize the file type, as the Windows and Unix libraries are not compatible with each other. The restored files will remain in their compressed state.
It is even worse for restores from Windows client to Unix/Linux server. All of the files will have a "Windows stream header" at the head of the file. The Unix/Linux server will not automatically strip off the header information. Only a Windows target client will recognize it and strip it off.
If you feel handy with it, you can make use of the "bprestore" command to initiate the restore and use the "-rename" option to do the path redirection. See the commands reference guide to see how it is done.
05-28-2015 07:26 AM
Ok if i need to restore to another unix server suppose server is yxcvbapp-bkp and i need to restore below file in restore under root directory What syntax i need to give.
the default is coming
New Destination.. and it says double click to change it.
app:\utiba\log\event\i-jkkk1\20150507_00.log
05-28-2015 07:39 AM
Hi Amol,
It says restore to the below path
app:\utiba\log\event\i-vas_1\
Now if i want to restore it to L:/backup folder on windows what would be the syntax.
05-28-2015 07:42 AM
For Unix to Unix restore you need to specify proper Unix paths:
/app/utiba/log/event/i-jkkk1/
05-28-2015 07:47 AM
path is fine....
If i select the 3rd option restore individual folder and files to differnet location (Double click to mofdify)
there is location app:\utiba\log\event\i-vas_1\20150507_00.log and then browse button. if i click on brose buttoon
it says unable to connect to netbackup host.
sO suppose i have a server name monitbkp and i want to restore the file on /backup what would be the syntax?
05-28-2015 07:52 AM
If you use a Windows master, you cannot browse a Unix client in BAR.
You need to type in the destination path in Unix format.
05-28-2015 07:58 AM
Hi Hargyan,
In the restore destination path mention path as "/L/Backup/"
It should work
05-28-2015 08:02 AM
is it simple /L/backup/
or "/L/Backup/" ?
05-28-2015 08:19 AM
Wait! Start again.
Were do you want to restore from and where to?
Source Client OS:
Source Client source (backup) path:
Destination Client OS:
Destination client restore path:
05-28-2015 10:33 AM
OK, based on the latest update,I believe you are now wanting to restore files from a Solaris client server to a Linux client server. And as I can tell, the source Solaris client name is monitbkp and the target client name is yxcvbapp-bkp.
If the fully qualified paths in the backup image do not already exist on the target restore server, you only need to change the restore client name in the BAR. There is no need to change the pathing as it does not exist on the target and will not be overwriting anything. After the restore, the identical fully qualified path will now exist on the target client yxcvbapp-bkp. If, however, you want it to go under the directory /backup on client yxcvbapp-bkp, then specify just /backup as the new destination directory. After the restore completes your new files will exist under the /backup directory on the target server.
So basically, the steps to follow are:
1. Open the backup image file listing on the BAR and select the file or files to be restored.
2. Set monitbkp as the source server, set yxcvbapp-bkp as the destination server, and (as needed) set the new location to be /backup. Just to be on the safe side I would make the /backup be an empty directory. When the restore completes, look in the /backup directory for the restored file(s).
BTW, if you were trying this and going to a Windows server (Master or otherwise), and for example you wanted it to go to the local drive L:\backup on that Windows server, the restore location definition would have been /L/backup for the operation.
Hope this is suficient to perform the actions you are trying to do.