07-04-2019 09:21 PM
Hi all,
I am new to Netbakcup.
I lost some files between 15th May to 22 May. It seems the files I want to restore are gone from the earliest backup date as the retension interval was set to one month only... I run the command bpcatlist.ext and it give me the result as attached screenshot 1.jpg. And I did some reseach online and tried to use the "import" fuction from Catalog menu and search on it, nothing shows up.
So I wonder if there is a way I can find the files back? Is the virtual tapes a good starting point? I have attached a screenshot 2.jpg of the view of all virtual tapes. How can I view the contents inside each of them?
Thank you
Solved! Go to Solution.
07-07-2019 11:53 PM
You will need to import expired images.
Phase 1 will recreate header info, phase 2 will recreate file-level info.
Steps to Import Netbackup Images
https://www.veritas.com/content/support/en_US/article.100017201.html
07-10-2019 06:17 AM
Please note - if you are trying to use expired media, it is absolutly imperative you save the media - either move it to another pool or freeze it, if disk - you cannot run a clean against it - you have to prevent it from being overwritten.
Once images expire, they can get overwritten, for example, tapes are placed back in the scratch pool and reused. Once they are overwritten, you are out of luck.
07-04-2019 09:52 PM
Hi,
When dealing with tape, virtual or physical, NetBackup won't (physically) remove the backup image from the tape, it only removes (expires) the reference to that image in the catalog. The space that it occupied on the tape therefore becomes available again.
Depending on your setup, and as image expire you might have a tapes that have some "blank" sports (expired images) on them while there are still other images on the tape that have not expired. In this case you'd be lucky and you can import the images from the tape since they would not have been overwritten.
In other cases all the images might expire at the same time and the tape would become "available". In the media view from the GUI this would be when the tape has no "assigned time". If a tape is unassigned (or available) other backups will use it and the old images would overwritten. In this case the images you wanted to restore would be gone forever. A good indictor of this having happened would be when the "Assigned time" is after the date you're looking at. Meaning that the tape expired and was assigned again.
So you have the option to import all media that is still assigned, but with an assigned date that is ealier than the date that you want to restore. If the images you're looking for match the first scenario I mentioned, you'll find them.
Cheers
07-07-2019 11:19 PM
Thank you very much, Riaan.
As I can see, there is a virtual tape's Time Assigned is May 4th, 2019 which is exactly I need, you can also see it from my screenshot 2.jpg, the topest line. The question will be what is the procedure to restore files from this virtual tape?
Thank you
07-07-2019 11:53 PM
You will need to import expired images.
Phase 1 will recreate header info, phase 2 will recreate file-level info.
Steps to Import Netbackup Images
https://www.veritas.com/content/support/en_US/article.100017201.html
07-08-2019 04:40 PM
Thank you, I will give a try and let you know how it works.
07-08-2019 09:40 PM
Hi Marianne,
I tried the procedures from the link.
It stucks after step 2 "2. Enter the Media ID and Media Server in the Initialize Import box."
It shows below message for few hours already and still hanging there:
11:17:09 INF - Waiting for mount of media id 632XXX on server XXXXXXX for reading.
Shoule I just wait?
Regards
07-08-2019 11:16 PM
Are there drives available on server XXXXXXX that matches the density of media id 632XXX?
07-10-2019 06:17 AM
Please note - if you are trying to use expired media, it is absolutly imperative you save the media - either move it to another pool or freeze it, if disk - you cannot run a clean against it - you have to prevent it from being overwritten.
Once images expire, they can get overwritten, for example, tapes are placed back in the scratch pool and reused. Once they are overwritten, you are out of luck.
07-10-2019 07:17 AM
I always write-protect the media - just in case
07-10-2019 09:17 PM
Hi Marianne,
Actually Netbackup 7.7.3 can't auto refresh, I have to manually refresh it. It is actually working like a charm.
Thank you so much to save my life:)
Regards
07-10-2019 09:17 PM
Thank you for the advice, will keep an eye on it.