x
x
x
X
X
X
Got Android ?
Never worry about losing it again with GCloud Backup (Why should i worry?)
Get it now (Free)
X
Contact Sales
+1 (202) 697-9168
11:00 AM – 7:00 PM EST
Skip Navigation LinksHomepage Support Knowledge Base

Connecting and disconnecting mapped network drives before and after backup


GBM Pro has the ability to connect a network drive prior backup starts and disconnects it afterwards. This can be done using these following steps:

  1. Go to Settings> More Settings> Pre & post jobs commands> Enable Pre and Post commands> Select Pre Data confirmation Command> Then place the following command:

     net use MAPPED DRIVE LETTER: UNC PATH PASSWORD /user:USERNAME

  2. Enable “Wait until previous process ends”

  3. in post command> Place the following command: net use MAPPED DRIVE LETTER: /del /Y

  4. Enable “Wait until previous process ends”

A real life example for this will be:

net use z: "\\NSA\public\John" 12345678 /user:John@GENIELOCAL /persistent:no

Where:

@GENIELOCAL is the domain name for the current user, if your username is not registered in any organization domain, you can safely omit this part.

/persistent:{yes | no} : Controls the use of persistent network connections. The default is the setting used last. Deviceless connections are not persistent. Yes saves all connections as they are made, and restores them at next logon. No does not save the connection being made or subsequent connections. Existing connections are restored at the next logon. Use /delete to remove persistent connections.

And to disconnect/unmount that network drive silently :

net use z: /delete /Y

**note: the /Y switch is used to suppress the warning message upon disconnecting that network drive:

"There are open files and/or incomplete directory searches pending on the connection to z:. Is it OK to continue disconnecting and force them closed? (Y/N)"

For more information on the usage of net use command, please proceed to this link:

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/net_use.mspx?mfr=true

APPLIES TO:
GBM Pro and Server 8.0 and 9.0

   
Provide feedback on this information
     
Was this information relevant? ... ...
 
What can we do to improve this information?
 
If you were not able to find the information you were looking for, or you need assistance with a Genie9 product, please contact Genie9 Support.