Dell DR4300e NetVault Backup - Best Practices for Setting up VTL Containers an - Page 46
choice /T 5 /C jn /N /D j >NUL
View all Dell DR4300e manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 46 highlights
:: Open and close I/O Port, to remove a :: remaining media, wait 5 seconds echo "%nvutil%\nvopeneeport.exe" -libraryname "%library_name%" "%nvutil%\nvopeneeport.exe" -libraryname "%library_name%" choice /T 5 /C jn /N /D j >NUL: "%nvutil%\nvcloseeeport.exe" -libraryname "%library_name%" choice /T 5 /C jn /N /D j >NUL: echo Stage 3 - Completed Export expired media and open :: I/O Port. Library cannot load media :: into a drive anymore echo "%nvutil%\nvexportmedia.exe" -barcode %ML% "%nvutil%\nvexportmedia.exe" -barcode %ML% choice /T 5 /C jn /N /D j >NUL: "%nvutil%\nvopeneeport.exe" -libraryname "%library_name%" echo Stage 4 - Completed Media is now unreachable for the library :: in I/O Slot, now we cheat NetVault Backup! :: :: For security reasons: Rename old media first :: After that, create new media with old name :: Deletion in next step if exist "%vtlpath%\media\%ML%.disabled" erase "%vtlpath%\media\%ML%.disabled" ren "%vtlpath%\ media\%ML%" %ML%.disabled "%nvutil%\nvmakemedia.exe" %media_size% mediafiles "%vtlpath%\media\%ML%" "%nvutil%\nvcloseeeport.exe" -libraryname "%library_name%" choice /T 5 /C jn /N /D j >NUL: echo "%nvutil%\nvblankmedia.exe" -barcode %ML% -wait "%nvutil%\nvblankmedia.exe" -barcode %ML% -wait if %GL% == None ("%nvutil%\nvlabelmedia.exe" -barcode %ML% -newlabel %ML%) else ("%nvutil%\nvlabelmedia. exe" - barcode %ML% -newlabel %ML% -newgroup %GL%) if exist "%vtlpath%\media\%ML%.disabled" erase "%vtlpath%\media\%1.disabled" choice /T 5 /C jn /N /D j >NUL: echo Stage 5 - Completed goto :eof echo Stage 6 - Completed 46 Best practices for setting up Dell VTL Container or NetVault Backup native virtual tape library (nVTL)