To backup the DFS volume structure:

1. Open a CMD prompt.

2. Type:

    DFSCMD /VIEW \\DFSSERVERNAME\DFSSHARE /BATCH >> <path>\<Output_File_Name>.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, <path>\<Output_File_Name>.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 \\dfsname\dfsshare\path \\server\share\path \[comment\] \[/restore\]                                      Create a Dfs volume; map a Dfs path to a server path. With /restore,                                      do no checks of destination server.                              /unmap \\dfsname\dfsshare\path                                      Delete a Dfs volume; remove all its replicas.                              /add \\dfsname\dfsshare\path \\server\share\path \[/restore\]                                      Add a replica to a Dfs volume.  With /restore, do no checks of                                      destination server.                              /remove \\dfsname\dfsshare\path \\server\share\path                                      Remove a replica from a Dfs volume.                              /view \\dfsname\dfsshare \[/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.