I'm using a Windows 2003 Small business server.

I like to make a backup with the backup tool form small business server.

When I do this I select a mapped drive (as well as the C: drive). This works
fine.

But when I do the same using a scheduled task then the mapped drive is
skipped.

There is nothing about the drive in the log.



What can I do to make a backup of the mapped drive using a scheduled task?

Re: Scheduled backup by Cliff

Cliff
Fri Jun 27 04:28:37 PDT 2008

Schedule a batch file instead of NTBackup. Have the batch file issue a net
use command to map the drive then issue the NTBackup command. That is the
most portable way to do this, as mapped drives are user specific. This
allows you to change around the configuration without fear of breaking much.

-Cliff

"André vd Hoeven" <andrevdh@hetnet.nl> wrote in message
news:%23PGWDjD2IHA.4704@TK2MSFTNGP05.phx.gbl...
> I'm using a Windows 2003 Small business server.
>
> I like to make a backup with the backup tool form small business server.
>
> When I do this I select a mapped drive (as well as the C: drive). This
> works fine.
>
> But when I do the same using a scheduled task then the mapped drive is
> skipped.
>
> There is nothing about the drive in the log.
>
>
>
> What can I do to make a backup of the mapped drive using a scheduled task?
>
>


Re: Scheduled backup by André

André
Fri Jun 27 04:32:46 PDT 2008

But mapping the drive is not the problem.
The drive is mapped but skipped in the scheduled backup.
When I start the backup manually then the backup is compleet (incl the
mapped drive)

"Cliff Galiher" <cgaliher@gmail.com> schreef in bericht
news:A858BD30-D870-4BEC-97CA-7A696840069D@microsoft.com...
> Schedule a batch file instead of NTBackup. Have the batch file issue a
> net use command to map the drive then issue the NTBackup command. That is
> the most portable way to do this, as mapped drives are user specific.
> This allows you to change around the configuration without fear of
> breaking much.
>
> -Cliff
>
> "André vd Hoeven" <andrevdh@hetnet.nl> wrote in message
> news:%23PGWDjD2IHA.4704@TK2MSFTNGP05.phx.gbl...
>> I'm using a Windows 2003 Small business server.
>>
>> I like to make a backup with the backup tool form small business server.
>>
>> When I do this I select a mapped drive (as well as the C: drive). This
>> works fine.
>>
>> But when I do the same using a scheduled task then the mapped drive is
>> skipped.
>>
>> There is nothing about the drive in the log.
>>
>>
>>
>> What can I do to make a backup of the mapped drive using a scheduled
>> task?
>>
>>
>



Re: Scheduled backup by Cliff

Cliff
Fri Jun 27 05:02:02 PDT 2008

As I said, mapped drives occur in the user context. It is possible that
although YOU see the drive as mapped, the scheduled task does not...and
therefore the backup just skips it.

...at least *try* the suggestion, you might be surprised that it works...

-Cliff

"André vd Hoeven" <andrevdh@hetnet.nl> wrote in message
news:%23xfC4oE2IHA.1772@TK2MSFTNGP03.phx.gbl...
> But mapping the drive is not the problem.
> The drive is mapped but skipped in the scheduled backup.
> When I start the backup manually then the backup is compleet (incl the
> mapped drive)
>
> "Cliff Galiher" <cgaliher@gmail.com> schreef in bericht
> news:A858BD30-D870-4BEC-97CA-7A696840069D@microsoft.com...
>> Schedule a batch file instead of NTBackup. Have the batch file issue a
>> net use command to map the drive then issue the NTBackup command. That
>> is the most portable way to do this, as mapped drives are user specific.
>> This allows you to change around the configuration without fear of
>> breaking much.
>>
>> -Cliff
>>
>> "André vd Hoeven" <andrevdh@hetnet.nl> wrote in message
>> news:%23PGWDjD2IHA.4704@TK2MSFTNGP05.phx.gbl...
>>> I'm using a Windows 2003 Small business server.
>>>
>>> I like to make a backup with the backup tool form small business server.
>>>
>>> When I do this I select a mapped drive (as well as the C: drive). This
>>> works fine.
>>>
>>> But when I do the same using a scheduled task then the mapped drive is
>>> skipped.
>>>
>>> There is nothing about the drive in the log.
>>>
>>>
>>>
>>> What can I do to make a backup of the mapped drive using a scheduled
>>> task?
>>>
>>>
>>
>
>


Re: Scheduled backup by Al

Al
Fri Jun 27 14:08:56 PDT 2008

It depends upon what credentials the scheduled task is run under (the Run
As.. box). If it's a system task (NT AUTHORITY\SYSTEM) then it won't see
the map. Try setting it to a user (ie: Administrator) (note you need to
keep the password in sync if you change it).

--
Allan Williams



"André vd Hoeven" <andrevdh@hetnet.nl> wrote in message
news:%23xfC4oE2IHA.1772@TK2MSFTNGP03.phx.gbl...
> But mapping the drive is not the problem.
> The drive is mapped but skipped in the scheduled backup.
> When I start the backup manually then the backup is compleet (incl the
> mapped drive)
>
> "Cliff Galiher" <cgaliher@gmail.com> schreef in bericht
> news:A858BD30-D870-4BEC-97CA-7A696840069D@microsoft.com...
>> Schedule a batch file instead of NTBackup. Have the batch file issue a
>> net use command to map the drive then issue the NTBackup command. That
>> is the most portable way to do this, as mapped drives are user specific.
>> This allows you to change around the configuration without fear of
>> breaking much.
>>
>> -Cliff
>>
>> "André vd Hoeven" <andrevdh@hetnet.nl> wrote in message
>> news:%23PGWDjD2IHA.4704@TK2MSFTNGP05.phx.gbl...
>>> I'm using a Windows 2003 Small business server.
>>>
>>> I like to make a backup with the backup tool form small business server.
>>>
>>> When I do this I select a mapped drive (as well as the C: drive). This
>>> works fine.
>>>
>>> But when I do the same using a scheduled task then the mapped drive is
>>> skipped.
>>>
>>> There is nothing about the drive in the log.
>>>
>>>
>>>
>>> What can I do to make a backup of the mapped drive using a scheduled
>>> task?
>>>
>>>
>>
>
>



Re: Scheduled backup by André

André
Tue Jul 01 02:33:00 PDT 2008

Credentials are administrator.

"Al Williams" <donotreplydirect@usenewsgroup.com> schreef in bericht
news:eWoTEoJ2IHA.4672@TK2MSFTNGP04.phx.gbl...
> It depends upon what credentials the scheduled task is run under (the Run
> As.. box). If it's a system task (NT AUTHORITY\SYSTEM) then it won't see
> the map. Try setting it to a user (ie: Administrator) (note you need to
> keep the password in sync if you change it).
>
> --
> Allan Williams
>
>
>
> "André vd Hoeven" <andrevdh@hetnet.nl> wrote in message
> news:%23xfC4oE2IHA.1772@TK2MSFTNGP03.phx.gbl...
>> But mapping the drive is not the problem.
>> The drive is mapped but skipped in the scheduled backup.
>> When I start the backup manually then the backup is compleet (incl the
>> mapped drive)
>>
>> "Cliff Galiher" <cgaliher@gmail.com> schreef in bericht
>> news:A858BD30-D870-4BEC-97CA-7A696840069D@microsoft.com...
>>> Schedule a batch file instead of NTBackup. Have the batch file issue a
>>> net use command to map the drive then issue the NTBackup command. That
>>> is the most portable way to do this, as mapped drives are user specific.
>>> This allows you to change around the configuration without fear of
>>> breaking much.
>>>
>>> -Cliff
>>>
>>> "André vd Hoeven" <andrevdh@hetnet.nl> wrote in message
>>> news:%23PGWDjD2IHA.4704@TK2MSFTNGP05.phx.gbl...
>>>> I'm using a Windows 2003 Small business server.
>>>>
>>>> I like to make a backup with the backup tool form small business
>>>> server.
>>>>
>>>> When I do this I select a mapped drive (as well as the C: drive). This
>>>> works fine.
>>>>
>>>> But when I do the same using a scheduled task then the mapped drive is
>>>> skipped.
>>>>
>>>> There is nothing about the drive in the log.
>>>>
>>>>
>>>>
>>>> What can I do to make a backup of the mapped drive using a scheduled
>>>> task?
>>>>
>>>>
>>>
>>
>>
>
>



Re: Scheduled backup by Al

Al
Wed Jul 02 11:17:38 PDT 2008

Well then you'll need to see whats going on with some batch scripts. One
thing that can be handy is to add batch commands to your scheduled task (or
add another task that just runs the batch file) that dump out information on
the environment to files, commands like "dir k:\ >> c:\info.txt" and "net
use >> c:\info.txt" will give you an idea of whether the drive map (assumed
k in my example is working).

--
Allan Williams



"André vd Hoeven" <andrevdh@hetnet.nl> wrote in message
news:%23FD9p412IHA.1192@TK2MSFTNGP05.phx.gbl...
> Credentials are administrator.
>
> "Al Williams" <donotreplydirect@usenewsgroup.com> schreef in bericht
> news:eWoTEoJ2IHA.4672@TK2MSFTNGP04.phx.gbl...
>> It depends upon what credentials the scheduled task is run under (the Run
>> As.. box). If it's a system task (NT AUTHORITY\SYSTEM) then it won't see
>> the map. Try setting it to a user (ie: Administrator) (note you need to
>> keep the password in sync if you change it).
>>
>> --
>> Allan Williams
>>
>>
>>
>> "André vd Hoeven" <andrevdh@hetnet.nl> wrote in message
>> news:%23xfC4oE2IHA.1772@TK2MSFTNGP03.phx.gbl...
>>> But mapping the drive is not the problem.
>>> The drive is mapped but skipped in the scheduled backup.
>>> When I start the backup manually then the backup is compleet (incl the
>>> mapped drive)
>>>
>>> "Cliff Galiher" <cgaliher@gmail.com> schreef in bericht
>>> news:A858BD30-D870-4BEC-97CA-7A696840069D@microsoft.com...
>>>> Schedule a batch file instead of NTBackup. Have the batch file issue a
>>>> net use command to map the drive then issue the NTBackup command. That
>>>> is the most portable way to do this, as mapped drives are user
>>>> specific. This allows you to change around the configuration without
>>>> fear of breaking much.
>>>>
>>>> -Cliff
>>>>
>>>> "André vd Hoeven" <andrevdh@hetnet.nl> wrote in message
>>>> news:%23PGWDjD2IHA.4704@TK2MSFTNGP05.phx.gbl...
>>>>> I'm using a Windows 2003 Small business server.
>>>>>
>>>>> I like to make a backup with the backup tool form small business
>>>>> server.
>>>>>
>>>>> When I do this I select a mapped drive (as well as the C: drive). This
>>>>> works fine.
>>>>>
>>>>> But when I do the same using a scheduled task then the mapped drive is
>>>>> skipped.
>>>>>
>>>>> There is nothing about the drive in the log.
>>>>>
>>>>>
>>>>>
>>>>> What can I do to make a backup of the mapped drive using a scheduled
>>>>> task?
>>>>>
>>>>>
>>>>
>>>
>>>
>>
>>
>
>



Re: Scheduled backup by André

André
Wed Jul 23 01:54:11 PDT 2008

I was away for a while but now I tried your suggestion and you where right.

using a batch helped the backup software to recognize the mapped drive.
Thanks for your help.



But now I have an new problem: when I execute the batch file the second day,
I get an error message (translated from Dutch): Backup did not start because
of a not unique tape name. (the first day it worked fine)



Do you have a solution for this also

Thanks anyway

"Cliff Galiher" <cgaliher@gmail.com> schreef in bericht
news:D5853A2E-8576-43C8-8029-EEA90FF77CF7@microsoft.com...
> As I said, mapped drives occur in the user context. It is possible that
> although YOU see the drive as mapped, the scheduled task does not...and
> therefore the backup just skips it.
>
> ...at least *try* the suggestion, you might be surprised that it works...
>
> -Cliff
>
> "André vd Hoeven" <andrevdh@hetnet.nl> wrote in message
> news:%23xfC4oE2IHA.1772@TK2MSFTNGP03.phx.gbl...
>> But mapping the drive is not the problem.
>> The drive is mapped but skipped in the scheduled backup.
>> When I start the backup manually then the backup is compleet (incl the
>> mapped drive)
>>
>> "Cliff Galiher" <cgaliher@gmail.com> schreef in bericht
>> news:A858BD30-D870-4BEC-97CA-7A696840069D@microsoft.com...
>>> Schedule a batch file instead of NTBackup. Have the batch file issue a
>>> net use command to map the drive then issue the NTBackup command. That
>>> is the most portable way to do this, as mapped drives are user specific.
>>> This allows you to change around the configuration without fear of
>>> breaking much.
>>>
>>> -Cliff
>>>
>>> "André vd Hoeven" <andrevdh@hetnet.nl> wrote in message
>>> news:%23PGWDjD2IHA.4704@TK2MSFTNGP05.phx.gbl...
>>>> I'm using a Windows 2003 Small business server.
>>>>
>>>> I like to make a backup with the backup tool form small business
>>>> server.
>>>>
>>>> When I do this I select a mapped drive (as well as the C: drive). This
>>>> works fine.
>>>>
>>>> But when I do the same using a scheduled task then the mapped drive is
>>>> skipped.
>>>>
>>>> There is nothing about the drive in the log.
>>>>
>>>>
>>>>
>>>> What can I do to make a backup of the mapped drive using a scheduled
>>>> task?
>>>>
>>>>
>>>
>>
>>
>



Re: Scheduled backup by Al

Al
Mon Jul 28 09:10:01 PDT 2008

You can use built-in shell commands like %DATE to add uniqueness to your
tape names in the NTbackup command line.

--
Allan Williams



"André vd Hoeven" <andrevdh@hetnet.nl> wrote in message
news:%23Cw6zJK7IHA.616@TK2MSFTNGP02.phx.gbl...
>I was away for a while but now I tried your suggestion and you where right.
>
> using a batch helped the backup software to recognize the mapped drive.
> Thanks for your help.
>
>
>
> But now I have an new problem: when I execute the batch file the second
> day, I get an error message (translated from Dutch): Backup did not start
> because of a not unique tape name. (the first day it worked fine)
>
>
>
> Do you have a solution for this also
>
> Thanks anyway
>
> "Cliff Galiher" <cgaliher@gmail.com> schreef in bericht
> news:D5853A2E-8576-43C8-8029-EEA90FF77CF7@microsoft.com...
>> As I said, mapped drives occur in the user context. It is possible that
>> although YOU see the drive as mapped, the scheduled task does not...and
>> therefore the backup just skips it.
>>
>> ...at least *try* the suggestion, you might be surprised that it works...
>>
>> -Cliff
>>
>> "André vd Hoeven" <andrevdh@hetnet.nl> wrote in message
>> news:%23xfC4oE2IHA.1772@TK2MSFTNGP03.phx.gbl...
>>> But mapping the drive is not the problem.
>>> The drive is mapped but skipped in the scheduled backup.
>>> When I start the backup manually then the backup is compleet (incl the
>>> mapped drive)
>>>
>>> "Cliff Galiher" <cgaliher@gmail.com> schreef in bericht
>>> news:A858BD30-D870-4BEC-97CA-7A696840069D@microsoft.com...
>>>> Schedule a batch file instead of NTBackup. Have the batch file issue a
>>>> net use command to map the drive then issue the NTBackup command. That
>>>> is the most portable way to do this, as mapped drives are user
>>>> specific. This allows you to change around the configuration without
>>>> fear of breaking much.
>>>>
>>>> -Cliff
>>>>
>>>> "André vd Hoeven" <andrevdh@hetnet.nl> wrote in message
>>>> news:%23PGWDjD2IHA.4704@TK2MSFTNGP05.phx.gbl...
>>>>> I'm using a Windows 2003 Small business server.
>>>>>
>>>>> I like to make a backup with the backup tool form small business
>>>>> server.
>>>>>
>>>>> When I do this I select a mapped drive (as well as the C: drive). This
>>>>> works fine.
>>>>>
>>>>> But when I do the same using a scheduled task then the mapped drive is
>>>>> skipped.
>>>>>
>>>>> There is nothing about the drive in the log.
>>>>>
>>>>>
>>>>>
>>>>> What can I do to make a backup of the mapped drive using a scheduled
>>>>> task?
>>>>>
>>>>>
>>>>
>>>
>>>
>>
>
>