07-29-2014 03:13 PM
Mea Culpa...
I have a Catalog - Images directory mis-match.
Somewhere along the line I have managed to remove a soft link (solaris 11) and now have ".f" files in two separate "images" directories.
So, the catalog shows the backup images, but a restore does not work (of course) for some backups due to the images not being found.
Is there a way to re-combine these two images directories ? (perhaps with cat_export and cat_import)
Thanks,
John
Solved! Go to Solution.
07-30-2014 11:14 AM
Where do you want these images?
Under /usr/openv/netbackup/db/images
or /span/images ?
You decide. Do the following with NBU down:
If you want them under /usr/openv/netbackup/db/images, (and you have enough space) simply copy all folders under /span/images/hyperion to /usr/openv/netbackup/db/images/hyperion.
Nothing else to be done.
Start NBU.
Monitor everything and browse for restores. If all is fine, you can delete the folder under /span
If you want them in /span/images/ (probably because there is not enough space in /usr/openv) copy everything in /usr/openv/netbackup/db/images/hyperion to /span/images/hyperion.
For now, just rename hyperion folder in usr/openv/netbackup/db/images. (e.g. old-hyperion).
ensure you are in usr/openv/netbackup/db/images/ as pwd, create sym-link:
# ln -s /span/images/hyperion hyperion
Confirm with ls -l | grep hyperion.
Test the link:
# cd hyperion
'ls -l' should list all 10-digit folders.
Start NBU and test.
If all is fine, you can delete old-hyperion and all of its contents.
07-29-2014 08:50 PM
may be little bit more info please..
show us the directore structure for 2 image directories.. also list few files of those..
even ls -l output from the parent Directories..
does it been upgraded from earlier version of netbackup to 7.5? because there is a catalog change in netbackup 7.5, just wanted to make sure that is not the case here
07-29-2014 10:41 PM
I agree with Nagalla - more info please.
If we know what exactly the problem is (as in the paths to the two locations) we can help you.
It should be as easy as recreating the symbolic link or simply copying files to where they should be.
07-30-2014 08:27 AM
The technote on how to move your images directory will contain all the steps you need to fix this situation. I would recommend keeping all of your images in one logical volume that is large enough to hold it all.
Follow the steps in the move guide and point the link to the final destination where your actual image files are kept.
http://www.symantec.com/business/support/index?page=content&id=TECH69970
07-30-2014 09:36 AM
Thank you all for your timely answers.
See the file structure under "DETAIL" below. As you can see, there are older sequence numbers in the /span/images directory and newer sequence numbers in the /usr/openv/netbackup/db/images directory.
I am pretty sure I already tried just copying one of the image files.
How do I verify that the old directory (/span/images) has images from the current version of Netbackup and not from a previous version ? I upgraded in December 2013 from 7.0.1 to 7.5.0.6. I am pretty sure the "/span/images" directory has version 7.5.0.6 information ( I am aware that the db changed), but is there a way to verify the version ?
...john
*** DETAIL ***
listing of just the ".f" files for the "Exchange" jobs.
[root@styx images]# pwd
/usr/openv/netbackup/db/images
[root@styx images]# find hyperion -name \*.f|grep Exchange
hyperion/1394000000/NDMP_Hyperion_Exchange_1394830238_FULL.f
hyperion/1394000000/NDMP_Hyperion_Exchange_1394043056_FULL.f
hyperion/1403000000/NDMP_Hyperion_Exchange_1403401328_FULL.f
hyperion/1402000000/NDMP_Hyperion_Exchange_1402683038_FULL.f
hyperion/1402000000/NDMP_Hyperion_Exchange_1402790405_FULL.f
hyperion/1396000000/NDMP_Hyperion_Exchange_1396742400_FULL.f
hyperion/1396000000/NDMP_Hyperion_Exchange_1396389349_FULL.f
hyperion/1397000000/NDMP_Hyperion_Exchange_1397349183_FULL.f
hyperion/1406000000/NDMP_Hyperion_Exchange_1406419200_FULL.f
hyperion/1405000000/NDMP_Hyperion_Exchange_1405209600_FULL.f
hyperion/1405000000/NDMP_Hyperion_Exchange_1405820158_FULL.f
hyperion/1374000000/NDMP_Hyperion_Exchange_1374364801_FULL.f
hyperion/1404000000/NDMP_Hyperion_Exchange_1404604800_FULL.f
hyperion/1404000000/NDMP_Hyperion_Exchange_1404000000_FULL.f
[root@styx images]#
[root@styx images]# pwd
/span/images
[root@styx images]# find hyperion -name \*.f|grep Exchange
hyperion/1370000000/NDMP_Hyperion_Exchange_1370736001_FULL.f
hyperion/1370000000/NDMP_Hyperion_Exchange_1370131201_FULL.f
hyperion/1381000000/NDMP_Hyperion_Exchange_1381622401_FULL.f
hyperion/1381000000/NDMP_Hyperion_Exchange_1381017601_FULL.f
hyperion/1366000000/NDMP_Hyperion_Exchange_1366507070_FULL.f
hyperion/1371000000/NDMP_Hyperion_Exchange_1371340801_FULL.f
hyperion/1371000000/NDMP_Hyperion_Exchange_1371945603_FULL.f
hyperion/1380000000/NDMP_Hyperion_Exchange_1380412801_FULL.f
hyperion/1367000000/NDMP_Hyperion_Exchange_1367712000_FULL.f
hyperion/1367000000/NDMP_Hyperion_Exchange_1367107201_FULL.f
hyperion/1325000000/NDMP_Hyperion_Exchange_1325379601_FULL.f
hyperion/1383000000/NDMP_Hyperion_Exchange_1383436804_FULL.f
hyperion/1364000000/NDMP_Hyperion_Exchange_1364688001_FULL.f
hyperion/1364000000/NDMP_Hyperion_Exchange_1364083200_FULL.f
hyperion/1368000000/NDMP_Hyperion_Exchange_1368316801_FULL.f
hyperion/1368000000/NDMP_Hyperion_Exchange_1368921601_FULL.f
hyperion/1373000000/NDMP_Hyperion_Exchange_1373155201_FULL.f
hyperion/1373000000/NDMP_Hyperion_Exchange_1373760001_FULL.f
hyperion/1382000000/NDMP_Hyperion_Exchange_1382227201_FULL.f
hyperion/1382000000/NDMP_Hyperion_Exchange_1382832000_FULL.f
hyperion/1365000000/NDMP_Hyperion_Exchange_1365292801_FULL.f
hyperion/1365000000/NDMP_Hyperion_Exchange_1365897601_FULL.f
hyperion/1369000000/NDMP_Hyperion_Exchange_1369526401_FULL.f
hyperion/1359000000/NDMP_Hyperion_Exchange_1359853201_FULL.f
hyperion/1378000000/NDMP_Hyperion_Exchange_1378598405_FULL.f
hyperion/1385000000/NDMP_Hyperion_Exchange_1385859601_FULL.f
hyperion/1385000000/NDMP_Hyperion_Exchange_1385433006_FULL.f
hyperion/1374000000/NDMP_Hyperion_Exchange_1374364801_FULL.f
hyperion/1374000000/NDMP_Hyperion_Exchange_1374969600_FULL.f
hyperion/1362000000/NDMP_Hyperion_Exchange_1362877201_FULL.f
hyperion/1362000000/NDMP_Hyperion_Exchange_1362272401_FULL.f
hyperion/1358000000/NDMP_Hyperion_Exchange_1358038801_FULL.f
hyperion/1358000000/NDMP_Hyperion_Exchange_1358645343_FULL.f
hyperion/1384000000/NDMP_Hyperion_Exchange_1384651473_FULL.f
hyperion/1384000000/NDMP_Hyperion_Exchange_1384046284_FULL.f
hyperion/1379000000/NDMP_Hyperion_Exchange_1379808005_FULL.f
hyperion/1379000000/NDMP_Hyperion_Exchange_1379208175_FULL.f
hyperion/1375000000/NDMP_Hyperion_Exchange_1375574401_FULL.f
hyperion/1363000000/NDMP_Hyperion_Exchange_1363478403_FULL.f
hyperion/1357000000/NDMP_Hyperion_Exchange_1357435075_FULL.f
hyperion/1376000000/NDMP_Hyperion_Exchange_1376785121_FULL.f
hyperion/1376000000/NDMP_Hyperion_Exchange_1376179955_FULL.f
hyperion/1360000000/NDMP_Hyperion_Exchange_1360458001_FULL.f
hyperion/1386000000/NDMP_Hyperion_Exchange_1386464401_FULL.f
hyperion/1356000000/NDMP_Hyperion_Exchange_1356830743_FULL.f
hyperion/1356000000/NDMP_Hyperion_Exchange_1356225829_FULL.f
hyperion/1377000000/NDMP_Hyperion_Exchange_1377993601_FULL.f
hyperion/1377000000/NDMP_Hyperion_Exchange_1377388801_FULL.f
hyperion/1293000000/NDMP_Hyperion_Exchange_1293325201_FULL.f
hyperion/1361000000/NDMP_Hyperion_Exchange_1361667603_FULL.f
hyperion/1361000000/NDMP_Hyperion_Exchange_1361064055_FULL.f
07-30-2014 10:38 AM
In the filename:
hyperion/1361000000/NDMP_Hyperion_Exchange_1361064055_FULL.f
The final number "1361064055" is the Backup ID.
Go to the image catalog in the admin console: Netbackup Management > Catalog
Search for the policy in question, be sure to change the date range to capture all the images.
Click the little filter funnel and filter the results by Backup ID using numbers you want to verify. If the Backup ID is found in the catalog then you have correlated a valid image.
Please follow the technote I linked on how to change the image path to recover.
07-30-2014 11:14 AM
Where do you want these images?
Under /usr/openv/netbackup/db/images
or /span/images ?
You decide. Do the following with NBU down:
If you want them under /usr/openv/netbackup/db/images, (and you have enough space) simply copy all folders under /span/images/hyperion to /usr/openv/netbackup/db/images/hyperion.
Nothing else to be done.
Start NBU.
Monitor everything and browse for restores. If all is fine, you can delete the folder under /span
If you want them in /span/images/ (probably because there is not enough space in /usr/openv) copy everything in /usr/openv/netbackup/db/images/hyperion to /span/images/hyperion.
For now, just rename hyperion folder in usr/openv/netbackup/db/images. (e.g. old-hyperion).
ensure you are in usr/openv/netbackup/db/images/ as pwd, create sym-link:
# ln -s /span/images/hyperion hyperion
Confirm with ls -l | grep hyperion.
Test the link:
# cd hyperion
'ls -l' should list all 10-digit folders.
Start NBU and test.
If all is fine, you can delete old-hyperion and all of its contents.