Actually, because of the server-side authentication requirement, you can't
back up network shares without logging in.  As far as persistent, your
network mappings are actually re-established each time you log in, so
services don't have access to them.  Instead of a prescheduled command,
because there might be mapping inheritance issues across shells, you might
try, for your backup, a script/cmd job with....

net use x: \\servername\share mypassword /user:mydomain\myaccount
dsmc inc x:

Personally, security on Windows platforms gives me the heebie jeebies, so I
don't like leaving my password in text files.  I experimented, and I had
some success creating a local account with the same name and password as my
domain account.  Under that local account, I then used:

net use x: \\servername\share /user:mydomain\myaccount

and it connected fine.  My guess is that it sent the local account's current
password to try to log into the domain account.  I don't like this behavior,
but I had hoped that would happen seeing as how this is a Microsoft OS.  I
didn't go the extra step to confirm that's what was happening, but it might
be worth your experimentation.

I hope this helps.

Alex Paschal  (MCSE, btw)
Storage Administrator
Freightliner, LLC
(503) 745-6850 phone/vmail

-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED]]On Behalf Of
John Monahan
Sent: Monday, February 18, 2002 6:01 PM
To: [EMAIL PROTECTED]
Subject: Re: How do you backup network drive w/o logging in?


You can try using the flag "/persistent:yes" on your NET USE command when
initially mapping a drive from your windows b/a client to the NAS device.
The mapped drive should still be available when you log out.

The only issue is that you will have to run your TSM Scheduler service
under an account other than system, one which has rights to access the NAS
device.

John Monahan
Senior Consultant Enterprise Solutions
Computech Resources, Inc.
Office: 952-833-0930 ext 109
Cell: 952-484-5435
http://www.compures.com





"Brown, Bud" <[EMAIL PROTECTED]>
Sent by: "ADSM: Dist Stor Manager" <[EMAIL PROTECTED]>
02/18/2002 08:48 AM
Please respond to "ADSM: Dist Stor Manager"


        To:     [EMAIL PROTECTED]
        cc:
        Subject:        How do you backup network drive w/o logging in?


I am looking for suggestions.  I have a NAS solution that needs to be
backed up.  I was hoping to specify a network drive on a particular
windows b/a client, until I realized that I had to be logged in all the
time to back it up.  I want to be able to backup a NAS share without
being logged in all the time...any suggestions are appreciated.  The
only thing that I can think of is to run a pre and post script that maps
a drive prior to backing up.  We have 2 RS/6000's with AIX 4.3.3 running
Tivoli 4.1.4.1.

Bud Brown
Information Services
Systems Administrator

Reply via email to