Windows operating systems

Microsoft Dfs file protection methods

There are some methods that you can use to protect the data in your Microsoft Dfs environment.

About this task

Here are the methods you should use to protect your Microsoft Dfs data:

Procedure

  1. Back up the Dfs link metadata and the actual data at the share target of each link from the workstation hosting the Dfs root. This method simplifies back up and restore by consolidating all of the Tivoli® Storage Manager activities on a single workstation. This method has the disadvantage of requiring an additional network transfer during backup to access the data stored at link targets.
  2. Back up only the Dfs link metadata that is local to the workstation hosting the Dfs root. Back up the data at the target of each link from the workstation(s) which the data is local too. This method increases back up and restore performance by eliminating the extra network transfer, but requires Tivoli Storage Manager back up and restores to be coordinated among several workstations.

Results

Note:
  1. See the product README file for current limitations of this feature.
Files contained on a Dfs server component are accessed using a standard UNC name, for example:
\\servername\dfsroot\
where servername is the name of the host computer and dfsroot is the name of the Dfs root.

If you set the dfsbackupmntpnt option to yes (the default), an incremental backup of a Dfs root does not traverse the Dfs junctions. Only the junction metadata is backed up. This is the setting you should use so that Tivoli Storage Manager can be used to restore Dfs links.

You can use the dfsbackupmntpnt option to specify whether Tivoli Storage Manager sees a Dfs mount point as a Microsoft Dfs junction or as a directory.

Important: Restore the Dfs junction metadata first. This recreates the links. Then restore each junction and the data at each junction separately. If you do not restore the junction metadata first, Tivoli Storage Manager creates a directory under the Dfs root using the same name as the junction point and restores the data in that directory.
The following example relates to method 1 above and illustrates how to use Tivoli Storage Manager to back up and restore a Microsoft Dfs environment. Assume the existence of a domain Dfs environment hosted by the workstation almaden:
Dfs root
\\almaden\snj64test
Dfs link1
\\almaden\snj64test\tools
Dfs link2
\\almaden\snj64test\trees

Backup procedure:

  1. Set the dfsbackupmntpnt option to yes in your client options file (dsm.opt).
  2. Enter the following command to back up link junction information:
     
    dsmc inc \\almaden\snj64test
  3. Enter the following command to back up data at the tools link:
     
    dsmc inc \\almaden\snj64test\tools
  4. Enter the following command to back up data at the trees link:
     
    dsmc inc \\almaden\snj64test\trees
Note: DFS Replication uses staging folders to act as caches for new and changed files to be replicated from sending members to receiving members. If you do not want to backup these files, you can exclude them from your backup using the exclude.dir option.
exclude.dir x:\...\Dfsrprivate

Restore procedure:

  1. Manually recreate shares at target workstations only if they no longer exist.
  2. Manually recreate the Dfs root using the exact name as it existed at the time of back up.
  3. Enter the following command to recover data from the tools link. This step is not necessary if the data still exists at the link target:
      dsmc restore \\almaden\snj64test\tools\* -sub=yes
  4. Enter the following command to recover data from the trees link. This step is not necessary if the data still exists at the link target:
      dsmc restore \\almaden\snj64test\trees\* -sub=yes
  5. Use the Distributed File System management console snap-in to reestablish replication for each link, if necessary.

Tivoli Storage Manager limitations: