- My Backup Steps:
- Click the Backup button. In the “Job Title” window, enter the name of the backup job. I usually type the tape code followed by a description of the backup content. Example: T1.Videos.of.School.Play. The “T1” means tape 1.
- Click the “Selections” tab and double-click on the computer system you would like to backup.
- Click the “Backup Options” tab and click the “Load” button. Select “Backup Options with Backup.Log.File.txt on C drive” then click “OK”.
- Click the “Schedule” tab and configure when and how you would like the backup to run.
- Click the “Target” tab and click the “Load” button. Select “Default Backup Target Options” and click “OK”.
- Click the “Advanced Options” tab and click the “Load” button. Select “Verify and Create Backup Log” and click “OK”.
What the various NetVault Backup media statuses mean
Media displayed as “Unknown” indicates that the presence of the media has been reported by the library/drive and acknowledged by NetVault Backup, but no other details are available. This condition typically occurs when using a library that does not have a drive added, or doesn’t have a barcode scanner enabled or affixed to the media. Since the library can’t report details on the media, NetVault Backup will mark it as “Unknown” until it is able to read the media header. NetVault Backup will try to automatically read any media in an unknown state during device initialization (e.g. NetVault service startup). Unknown media will not be assigned to a job until it has been read.
Media categorized as “Foreign” indicates that the media is recognized as NetVault Backup media, but it’s not currently in the media catalog (media database). Additional details are not available until a complete scan is performed. Foreign media will not be assigned to a job until it has been scanned. Rebuilding the NetVault media database will sometimes result in media being designated as foreign, since the media catalog may be incomplete.
Media designated as “Other” indicates that the media has been read and does not contain a recognizable NetVault Backup header/format. These can include tapes written using Unix CPIO, Windows NT Backup, or other software. Tapes marked as “Other” will not be assigned to a job until it has been blanked.
There are a number of conditions that can result in media being marked as “Bad”. Bad media indicates that a series of errors has occurred with the specific piece of media and/or the specific drive. As a result, NetVault Backup will mark the media as suspect until it has been confirmed by the administrator. Events such as excessive read/write errors, media alignment issues, and drive-failing ejects are just a few examples of how a piece of media can be considered bad. Although bad media can indeed be faulty, often times this media status is subsequent to hardware-related issues. Further troubleshooting of the drive and library robot should be performed to determine the root cause of bad media. Bad media will not be assigned to a job.
Description: How to generate a binary log dump
Step 1: From the main NetVault window open the Logs screen.
Step 2: Click on the “Filter” icon to open the “Filter Options” window.
Step 3: Set the warning level to “ALL” and the time range to “First Event” and “Last Event”.
Step 4: Press “OK” to close the “Filter Options” window and apply the filter options.
Step 5: Click on the “Dump Log to File” icon.
Step 6: Click the radio button to set the Format to “Binary”
Step 7: Enter a relevant name for the file (a good example is the Case-ID and date) and click “OK”.
The file will be saved into the “$NV_HOME\logs\dumps\binary” directory on Linux\Unix and in “%NV_HOME%\logs\dumps\binary” on Windows.
‘Copy C:\Backup.Log.File.txt to desktop and add current date and time to the filename.
Const ForWriting = 2
strDate = Replace(Date(), “/” ,”_” )
strDate = Now()
‘Now get the parts of the date I want so I can make my own string.
strYear = DatePart(“yyyy”,strDate)
strMonth = DatePart(“m”,strDate)
strDay = DatePart(“d”,strDate)
strHour = DatePart(“h”,strDate)
strMinute = DatePart(“n”,strDate)
strSecond = DatePart(“s”,strDate)
‘Can’t get the two digit month and day to show up so I put a letter after everything.
‘strFileDate = “Y” & strYear & “M” & strMonth & “D” & strDay & “H” & strHour & “m” & strMinute & “s” & strSecond & “.txt”
strFileDate1 = strYear & “Y” & strMonth & “M” & strDay & “D” & strHour & “H” & strMinute & “m” & strSecond & “s” & “.txt”
‘Set objFSO = CreateObject(“Scripting.FileSystemObject”)
‘Set objOutputFile = objFSO.CreateTextFile( _
‘ “c:\Software\DateInFileName ” _
‘ & strFileDate, ForWriting)
Set objShell = WScript.CreateObject(“WScript.Shell”)
Dim oWshEnvironment, FSO
Set oWshEnvironment = objShell.Environment(“Process”)
Set FSO = CreateObject(“scripting.FileSystemObject”)
sCurrentProfile = oWshEnvironment(“USERPROFILE”)
‘Copy the file and append the date.
‘FSO.CopyFile “C:\Backup.Log.File.txt”, sCurrentProfile & “\Desktop\” & “Backup.Log.File.” & strFileDate
‘FSO.CopyFile “C:\Backup.Log.File.txt”, “C:\Software\BackupLog\” & “Backup.Log.File.” & strFileDate
FSO.CopyFile “C:\Backup.Log.File.txt”, sCurrentProfile & “\Desktop\” & “Backup.Log.File.” & strFileDate1
FSO.CopyFile “C:\Backup.Log.File.txt”, “C:\Software\BackupLog\” & “Backup.Log.File.” & strFileDate1