Solved

DFS replication success notification

Posted on 2014-09-09
3
1,263 Views
Last Modified: 2014-09-17
Server 2012 R2 servers.

I have two sites.  I am replicating files/folders between the two sites using DFS.

I need notification of successful replication and/or replication status.

Does anyone know how to achieve that?

Thanks

Cliff
0
Comment
Question by:crp0499
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 4

Expert Comment

by:Neeraj Kumar
ID: 40313522
To monitor the replication you can use the command "dfsrdiag.exe ReplicationState

Refer below article for more information
http://blogs.technet.com/b/filecab/archive/2009/05/28/dfsrdiag-exe-replicationstate-what-s-dfsr-up-to.aspx
0
 

Author Comment

by:crp0499
ID: 40314444
That's nice.  However, I am looking for an email notification of successful replication that I can receive every 24 hours.  

I'm looking for notifications of successful replication.
0
 
LVL 28

Accepted Solution

by:
Dan McFadden earned 500 total points
ID: 40318808
Since replication is a continuous process, getting an email about successful replication (read:  replication complete) is not realistic.  Your inbox would probably flood with email alerts.

A better way of looking at this is to generate a DFS health/status report that is emailed out every X number of hours.

Here is are 2 articles about a script that accomplishes the task:

1. http://sumeetsharma84.blogspot.de/2012/06/power-shell-to-create-dfs-r-diagnostic.html
2. http://randomtechminutia.wordpress.com/2012/12/04/powershell-script-to-generate-and-email-a-dfs-health-report/

Reference for DFSR Diagnostic report:
1. http://social.technet.microsoft.com/Forums/en-US/35b92b01-261f-4997-a6a6-068b630b443e/dfsr-diagnostic-report-script?forum=winserverfiles
2. http://gallery.technet.microsoft.com/scriptcenter/PowerShell-DFS-Replication-e1c8d772

Dan
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Resolve DNS query failed errors for Exchange
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
In this Micro Tutorial viewers will learn how to use Windows Server Backup to create full image of their system. Tutorial shows how to install Windows Server Backup Feature on Windows 2012R2 and how to configure scheduled Bare Metal Recovery backup.…
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question