+ Post New Thread
Results 1 to 11 of 11
Windows Thread, one way mirroring a folder in Technical; can anyone think of a way of scheduling this. I have a bunch of files on a different domain (differnt ...
  1. #1


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,579
    Thank Post
    228
    Thanked 853 Times in 732 Posts
    Rep Power
    294

    one way mirroring a folder

    can anyone think of a way of scheduling this. I have a bunch of files on a different domain (differnt vlan as well but i cant alter that) both servers can see each other but for some reason the link is slow (again as i have no access to change anything there its just something i have to live with). What i want to do is schedule a copy of a folder from server a to server b such that any changes on a get sent accross but any change on server b is just ignored. Synctoy should be able to do this with echo but i just cant get it to schedule. Robocopy will do a 2 way mirror but thats not ideal. Any ideas?

  2. #2

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,834
    Thank Post
    875
    Thanked 1,675 Times in 1,458 Posts
    Blog Entries
    12
    Rep Power
    444
    When you say gets ignored on server B. If a new file is created do you want that removed or kept when you do the Sync.

    It should be possible with Robocopy.

  3. #3


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,579
    Thank Post
    228
    Thanked 853 Times in 732 Posts
    Rep Power
    294
    effectively server b want to be a direct copy of a any changes on b can be thrown away as useless

  4. #4

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,834
    Thank Post
    875
    Thanked 1,675 Times in 1,458 Posts
    Blog Entries
    12
    Rep Power
    444
    ok easy then with robocopy

    Code:
    robocopy "\\server-a\share" "\\server-b\share" /mir
    save it as a batch file as a scheduled task.

    Do a few tests first to make sure its exact.

  5. #5

    sonofsanta's Avatar
    Join Date
    Dec 2009
    Location
    Lincolnshire, UK
    Posts
    4,934
    Thank Post
    861
    Thanked 1,438 Times in 988 Posts
    Blog Entries
    47
    Rep Power
    616
    Why wouldn't robocopy do a one way mirror? Just set it as a scheduled task from server to server b with the relevant flags and it should do the job, shouldn't it?

  6. #6


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,579
    Thank Post
    228
    Thanked 853 Times in 732 Posts
    Rep Power
    294
    i thought /mir copied files in both directions?

  7. #7

    sparkeh's Avatar
    Join Date
    May 2007
    Posts
    6,734
    Thank Post
    1,272
    Thanked 1,645 Times in 1,101 Posts
    Blog Entries
    22
    Rep Power
    505
    /mir should only keep the target mirrored with the source and not copy things the other way.
    There are websites/tutorials that say otherwise but I think they are plain wrong. Give it a test?

  8. #8


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,579
    Thank Post
    228
    Thanked 853 Times in 732 Posts
    Rep Power
    294
    just had a play with some dummy files and /mir seems to delete any changes to folder b anyway so that works fine. i was sure /mir copied both ways but oh well
    thanks

  9. #9

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,834
    Thank Post
    875
    Thanked 1,675 Times in 1,458 Posts
    Blog Entries
    12
    Rep Power
    444
    Quote Originally Posted by sted View Post
    just had a play with some dummy files and /mir seems to delete any changes to folder b anyway so that works fine. i was sure /mir copied both ways but oh well
    thanks
    Nope

    It goes like

    robocopy <source> <destination> <switches>

  10. #10

    Join Date
    Dec 2008
    Location
    Nottingham
    Posts
    572
    Thank Post
    38
    Thanked 114 Times in 104 Posts
    Rep Power
    46
    Could you do this with DFS replication? I think that would also use various tools to compress the data stream and send chunks as bandwidth allows (and I think you can schedule replication).

  11. #11


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,579
    Thank Post
    228
    Thanked 853 Times in 732 Posts
    Rep Power
    294
    different domains i dont have much access to the other domain. Robocopy looks like it should work

    i just want to copy the sims setup folder to the curric network as over the link it can take 40 mins to update which as it always fails to update automatically is a right pita

SHARE:
+ Post New Thread

Similar Threads

  1. One way messaging
    By faza in forum Wireless Networks
    Replies: 10
    Last Post: 10th May 2013, 12:11 PM
  2. One way folder replication needed - no luch with DFS
    By fox1977 in forum Windows Server 2000/2003
    Replies: 3
    Last Post: 25th November 2009, 02:05 PM
  3. One way voice using VOIP over a bridge
    By BooBoo in forum How do you do....it?
    Replies: 4
    Last Post: 29th January 2009, 11:02 AM
  4. Classroom Panic - One Way Messaging
    By andymellor in forum Network and Classroom Management
    Replies: 11
    Last Post: 9th December 2008, 02:39 PM
  5. one way nontransitive trust issue
    By projector1 in forum Windows
    Replies: 2
    Last Post: 15th February 2008, 06:58 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •