Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Backup NT 4 Network Drive

Status
Not open for further replies.

figmatalan

Programmer
Jun 28, 2004
82
GB
Helllp!

I've got a mapped drive on an NT 4 server which I'd like to backup (it's mapped to a share on a server which cannot have the Legato client installed on it).

I can see the drive in Explorer, but when I launch Networker User it doesnt appear, nor will a scheduled backup work.

The share works OK (i.e. I can read/write data there) but it just wont backup.

Any ideas would be appreciated.
 
Just in case anyones wondering, it could be that the share I was told to use has been setup wrong. I'm looking into this now.......
 
I'm not sure you can do that... networker wait for a device connected physically, not using the network. In this case, the host with the device should have Storage Node installed.

Cheers.
 
I'm trying to back up a snapshot directory from a NetApps filer. I'm not allowed to use NDMP (not my decision) which is a pain.

I can map a drive, but I am just getting what appear to be permission problems for this.
 
Hi, there

Which version of Networker are you running on the client ?
I have seen this with Networker v6.1.3 but it's fixed with
v6.1.4
 
The Storage Node has 6.1.1 on it as does the main backup server. No chance of upgrading them though anytime soon as I need to have the SN has to be the same or lower level.
 
Hi,
Backing up a share will only only work on a storage node or a networker server.
Use the following steps (Assuming windows storage node).
1. Setup a client savegroup using the storage node as a client.
2. Saveset as: \\filername\sharename
3. On the remote tab in the backup command field insert eg. saveshare.cmd (name of your command file. NOTE: has to start with save or nsr.
4. In the executable path field insert the full path of the networker bin folder on the storage node.
5. You may have to fill in the fields for username & password (depends on your setup)
6. Create the command file as shown below and save in the bin folder on the storage node (eg saveshare.cmd)

Command script to backup a share on a storage node.
----------------------------------------------
Code:
@ECHO OFF
SETLOCAL
ECHO + START Filer Backup BATCH FILE
ECHO + Delete MAPPED Drive
net use /delete u: > nul 2>&1
ECHO + MAPPING NetAPP Drive U:
net use u: \\filername\sharename

REM This is the commands that take incoming arguments from
REM the savegrp command and handle them in a special manner
REM to overcome batch file limitations:
REM PARSE ALL INCOMING ARGUMENTS
REM and pass single argument in case
REM more than 10 arguments are passed to this file
REM (ie %0-%9 is not enough).
ECHO === NetWorker SAVE SET COMMAND ===
SHIFT
SET arg=%0
:loop
SHIFT
IF %0.==. GOTO save
SET arg=%arg% %0
GOTO loop
REM These are the save commands that run the required
REM NetWorker backup commands.
:save

D:\NTAPPS\Legato\nsr\bin\save.exe %arg%

ECHO + NetWorker POST_BACKUP COMMAND
net use /delete u: > nul 2>&1
ECHO + END OF BATCH FILE
ENDLOCAL
--------------------------------------------

Hope this helps.
Cheers. [smile]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top