JSI Tip 3073. How do I backup and restore the DFS structure on a Windows 2000 server?
Jerold Schulman
November 21, 2000
1 Min Read
To backup the DFS volume structure:
1. Open a CMD prompt.
2. Type:
DFSCMD /VIEW \DFSSERVERNAMEDFSSHARE /BATCH >> .bat
To restore the DFS structure:
01. Administrative Tools / Distributed File System.
02. On the Action menu, press New DFS Root.
03. Press Next and select the proper type of DFS root.
04. Select the server that will host the DFS root.
05. Press Next.
06. Select the share that willl become the DFS Root Share.
07. Press Next.
08. Type a comment.
09. Press Next.
10. Press Finish to create the new DFS root.
11. Run the batch file, .bat, from step 2 of the backup procedure.
12. Verify that the structure has been properly created.
NOTE: Typing DFSCMD /? returns:
The syntax of this command is:DFSCMD [options]DFSCMD configures a Dfs tree.[options] can be:/help Display this message./map \dfsnamedfssharepath \serversharepath [comment] [/restore] Create a Dfs volume; map a Dfs path to a server path. With /restore, do no checks of destination server./unmap \dfsnamedfssharepath Delete a Dfs volume; remove all its replicas./add \dfsnamedfssharepath \serversharepath [/restore] Add a replica to a Dfs volume. With /restore, do no checks of destination server./remove \dfsnamedfssharepath \serversharepath Remove a replica from a Dfs volume./view \dfsnamedfsshare [/partial | /full | /batch || /batchrestore] View all the volumes in the Dfs. Without arguments, view just the volume names. With /partial, view comment also. With /full, display a list of all the servers for a volume. With /batch, output a batch file to recreate the dfs. With /batchrestore, output a batch file to recreate the dfs using the /restore switch.Note that paths or comments with spaces should be enclosed in quotes.
About the Author
Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
You May Also Like