Guest Ted Posted February 16, 2008 Posted February 16, 2008 Hi, Windows 2003 Server, File and Print and Database, member of a domain. I setup ntbackup to do a nightly job but it continues to fail. I have a few USB external drives that I swap and take off site. I replace these every few days as it is cheaper and more convenient than tape. My problem is the backup job when it is set to automatic it fails saying it cannot locate the media. I have the removeable drive on another server that is running a local backup and works fine. This server is connected to that with a drive mapping. If i go into the backup job, and copy and paste the command line parameters to a command prompt the backup works just fine. Any ideas on why this is failing? Thanks Ted
Guest Pegasus \(MVP\) Posted February 16, 2008 Posted February 16, 2008 Re: ntbackup fails using scheduler but works fine if done manually "Ted" <Ted@discussions.microsoft.com> wrote in message news:2239F7C4-901E-4A9C-A69E-BD78D49162C8@microsoft.com... > Hi, > > Windows 2003 Server, File and Print and Database, member of a domain. I > setup ntbackup to do a nightly job but it continues to fail. I have a few > USB external drives that I swap and take off site. I replace these every > few > days as it is cheaper and more convenient than tape. My problem is the > backup job when it is set to automatic it fails saying it cannot locate > the > media. I have the removeable drive on another server that is running a > local > backup and works fine. This server is connected to that with a drive > mapping. If i go into the backup job, and copy and paste the command > line > parameters to a command prompt the backup works just fine. > > Any ideas on why this is failing? > > Thanks > > Ted I suspect that your drive letters are mixed up. Use the Task Scheduler to run the following batch file, then examine c:\Drives.txt. @echo off cscript //nologo c:\DiskParms.vbs > c:\Drives.txt The file c:\DiskParms.vbs must contain the following code: Const Removable = 1 Const Fixed = 2 Const Network = 3 Const CDROM = 4 Const RAMDisk = 5 NewLine=Chr(10) Set fso = CreateObject("Scripting.FileSystemObject") Set drives = fso.Drives S = "" For Each drive In drives S = S & "Drive " & drive.Path S = S & " " & ShowDriveType(Drive) If drive.IsReady Then S = S & ", ready" Else S = S & ", not ready" if drive.IsReady Then If drive.DriveType=Network Then S = S & ", Label=" & drive.ShareName Else S = S & ", Label=" & drive.VolumeName End If S = S & ", FS=" & drive.FileSystem S = S & ", Total=" & Int(drive.TotalSize/1000000) S = S & ", Free=" & Int(drive.FreeSpace/1000000) S = S & ", Available=" & Int(drive.AvailableSpace/1000000) S = S & ", Serial=" & Hex(drive.SerialNumber) End If S = S & NewLine Next wscript.echo S '========================== Function ShowDriveType(Drive) Select Case drive.DriveType Case Removable S = "Removable" Case Fixed S = "Fixed" Case Network S = "Network" Case CDROM S = "CD-ROM" Case RAMDisk S = "RAM Disk" Case Else S = "Unknown" End Select ShowDriveType = S End Function
Guest Dave Patrick Posted February 16, 2008 Posted February 16, 2008 Re: ntbackup fails using scheduler but works fine if done manually Try using a UNC path as mapped drives won't natively exist when no one is logged on. -- Regards, Dave Patrick ....Please no email replies - reply in newsgroup. Microsoft Certified Professional Microsoft MVP [Windows] http://www.microsoft.com/protect "Ted" wrote: > Hi, > > Windows 2003 Server, File and Print and Database, member of a domain. I > setup ntbackup to do a nightly job but it continues to fail. I have a few > USB external drives that I swap and take off site. I replace these every > few > days as it is cheaper and more convenient than tape. My problem is the > backup job when it is set to automatic it fails saying it cannot locate > the > media. I have the removeable drive on another server that is running a > local > backup and works fine. This server is connected to that with a drive > mapping. If i go into the backup job, and copy and paste the command > line > parameters to a command prompt the backup works just fine. > > Any ideas on why this is failing? > > Thanks > > Ted
Guest Pegasus \(MVP\) Posted February 16, 2008 Posted February 16, 2008 Re: ntbackup fails using scheduler but works fine if done manually "Dave Patrick" <DSPatrick@nospam.gmail.com> wrote in message news:07E7C666-9CEC-473A-8015-3FF7F01D259D@microsoft.com... > Try using a UNC path as mapped drives won't natively exist when no one is > logged on. > Welcome back - we missed you!
Guest Dave Patrick Posted February 16, 2008 Posted February 16, 2008 Re: ntbackup fails using scheduler but works fine if done manually Thanks. Went to Bahamas for the week. -- Regards, Dave Patrick ....Please no email replies - reply in newsgroup. Microsoft Certified Professional Microsoft MVP [Windows] http://www.microsoft.com/protect "Pegasus (MVP)" wrote: > Welcome back - we missed you! > >
Recommended Posts