File replication between 2 different domains


Recommended Posts

I was wondering is there a way to achieve file replication between 2 different domains (that have external trust to each other)?

The scenario is this.

2 windows 2000 domain networks with AD

2 file servers resides respectively on domain 1 and domain 2.

domain 1 file server houses some files (800megs worth) that needs to be replicated across to domain 2 file server, off hours of course. Reason is their connection is slow so when the users over there (domain 2) pull files across the network through our share its very slow. the suggestion was to replicate a copy over during off hours so users can run the files internall on their lan.

Is there something on windows 2000 that i can use or do i have to purchase extra software to achieve this?

I was thinking maybe DFS, but i've never used it before so maybe someone can let me know if i am going inthe right direction.

I'm thinking of doing the same thing. I also wanted to use DFS "cross domain". That is the ideal. I also looked into Robocopy because it has the opion of running when x amount of changes and/or x minutes have passed. The third option was an off site data centre and MS Share Point.

From this the robocopy seemed the easiest to set up. The advantages are Free, ability to set when replication takes place, can be run manually, can replicate on time stamp, file atributes can be set or kept on replication (ntfs too), can work cross platform (as long as the destination accepts unc names)

DFS is a more robust way. It too is free, you can assign costs to your connection, easy to manage. But I don't know how to run it cross domain.

The last one would cost money, but replication could be done anytime, no direct link between the domains is needed, the most robust of the three.

Still to make my desission. Hope I comes from this thread.

Thanks for the tips.

I am going to try robocopy as a trial run and a small scale solution until I can implement something more managable and flexible.

As for DFS i'm having a problem with visualizing the idea.

Say I have domain A and domain B

I create a DFS root , then a DFS link to the folder A on domain A. I create a replica set on domain B folder B.

So basically folder B on domain B (assuming cross domain works with external trust) should get a replica set whenever the schedule to replicate hits.

I can set the folder B to be a local share and users from domain B can access that share locally so they won't have to pull across the link between domain A and domain B.

am I visualizing this right?

Sounds right.

Say you have a large company and they have offices all over.

There is a folder that has a set of template files that need to get used by all offices.

Each office server has a shared folder called Templates.

With DFS those folders are "mirrored". If a new template is added then, when replication starts, that file is updated on all members of the DFS.

You will have an exact copy of the folder in every office (depending on how often replication takes place)

I have tested out robocopy and it works. However, this is probably not a good way to replicate large amounts of data with this.

I basically wrote a batch script and had windows task scheduler run it.

I do have one problem with my batch script that i wrote. If I have a folder name that has spaces. Like _source1 and _source2 path.

Does anyone know how to represent a space properly in a dos script? When I run it as is, it returns an error because right when the first space on the file path, the program thinks the path is finished and therefore cannot find that path.

  Quote
@ECHO OFF

SETLOCAL

SET _source1=\\files2\pub$\pub & Manuals\test1\

SET _source2=\\files2\pub$\pub & Manuals\test2\

SET _dest1=\\files1\manual$\test1\

SET _dest2=\\files1\manual$\test2\

SET _what=/COPYALL /B /SEC /MIR

:: /COPYALL :: COPY ALL file info

:: /B :: copy files in Backup mode.

:: /SEC :: copy files with SECurity

:: /MIR :: MIRror a directory tree

SET _options1=/R:0 /W:0 /LOG:ASPFILE.txt /NFL /NDL

:: /R:n :: number of Retries

:: /W:n :: Wait time between retries

:: /LOG :: Output log file

:: /NFL :: No file logging

:: /NDL :: No dir logging

SET _options2=/R:0 /W:0 /LOG:MPMLOG.txt /NFL /NDL

:: /R:n :: number of Retries

:: /W:n :: Wait time between retries

:: /LOG :: Output log file

:: /NFL :: No file logging

:: /NDL :: No dir logging

ROBOCOPY %_source1% %_dest1% %_what% %_options1%

ROBOCOPY %_source2% %_dest2% %_what% %_options2%

Use it like this - "\\server\path a\ "

  Quote
@ECHO OFF

title ROBOCOPY SCRIPT

SETLOCAL

SET _source1="\\files2\pub$\pub & Manuals\test1\"

SET _source2="\\files2\pub$\pub & Manuals\test2\"

SET _dest1=\\files1\manual$\test1\

SET _dest2=\\files1\manual$\test2\

SET _what=/COPYALL /B /SEC /MIR

:: /COPYALL :: COPY ALL file info

:: /B :: copy files in Backup mode.

:: /SEC :: copy files with SECurity

:: /MIR :: MIRror a directory tree

SET _options1=/R:0 /W:0 /LOG:ASPFILE.txt /NFL /NDL

:: /R:n :: number of Retries

:: /W:n :: Wait time between retries

:: /LOG :: Output log file

:: /NFL :: No file logging

:: /NDL :: No dir logging

SET _options2=/R:0 /W:0 /LOG:MPMLOG.txt /NFL /NDL

:: /R:n :: number of Retries

:: /W:n :: Wait time between retries

:: /LOG :: Output log file

:: /NFL :: No file logging

:: /NDL :: No dir logging

ROBOCOPY %_source1% %_dest1% %_what% %_options1%

ROBOCOPY %_source2% %_dest2% %_what% %_options2%

Save it as a .cmd file (or .bat)

BTW Robocopy also uses job files. A job line is just a list of the options. Look in the documentation.

ie: robocopy /job:option1

The documentation tells you how to to either write a job file or use the save option to created one.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Apple introduces macOS Tahoe with a new Phone app, revamped Spotlight, and more by David Uzondu The speculation can finally end, as the rumors about the name turned out to be completely true. At its Worldwide Developers Conference today, Apple officially christened the next version of its desktop operating system macOS Tahoe. This release, part of the new "26" family of operating systems like iOS 26, is bringing more than just a new name to the table. The most significant and immediate change is a system-wide visual redesign Apple is calling "Liquid Glass." Let's talk about this new design, because it is the first thing you will notice. Apple is taking the translucent, layered look from its visionOS and bringing it everywhere. It is a fundamental change to how macOS looks and feels, which some Neowin readers are definitely not a fan of. Sidebars, toolbars, and menus all have this frosted glass effect, where their color and texture shift based on the window or wallpaper behind them. The menu bar is now completely transparent, and Apple is also adding more customization. You can now change the color of folders, which is a feature people have wanted for nearly forever, and add little symbols or emojis to them. The bigger story for day-to-day use might be how much tighter the Mac and iPhone are becoming. Last year, macOS Sequoia saw the release of apps like the dedicated Passwords app, and this year, with Tahoe, we get a full-blown Phone app on the Mac. It is not just for getting call notifications anymore. You can see your recent calls, check your voicemail, and access your contacts list just like you would on your iPhone. New features like Call Screening, which can figure out who is calling before you answer, are also included. Live Activities from your iPhone, like the status of an Uber ride or a food delivery, will now show up right in your Mac's menu bar. Spotlight search is also getting a massive update. For years, Spotlight has been a simple tool for finding files and launching apps. Now, Apple is trying to turn it into an action center. You will be able to perform tasks directly from the search results, like creating a new note or sending an email, without ever opening the corresponding application. The search results themselves are supposed to be smarter and are no longer separated into rigid categories. Everything just shows up in one big list, ranked by what the system thinks is most relevant to you. Despite Apple's ongoing AI challenges, Apple Intelligence is getting new abilities. The AI features introduced last year are being expanded. A new Live Translation feature can translate text in Messages or audio during a phone call or FaceTime, all on the device, to maintain privacy. The Shortcuts app is also getting more powerful. You can now build automations that tap directly into Apple's AI models to do more complex tasks, like summarizing an audio recording of a lecture and comparing it to your typed notes. And yes, Apple is still trying to make gaming on the Mac a serious thing. A new dedicated app called Apple Games is being introduced. It acts as a central library for all your games, similar to launchers you might see on a PC. It also includes a new Game Overlay, which lets you mess with system settings or chat with friends without leaving your game. Apple announced that titles like Cyberpunk 2077, Crimson Desert, and Lies of P: Overture are on their way to the platform. Other mainstays are getting refreshed as well. Safari has a redesigned tab layout, Messages is getting polls, and the Journal app is finally making its way from the iPhone to the Mac. The first developer beta for macOS Tahoe is available today, June 9, 2025. A public beta is expected to follow next month, with the final version being released for free to everyone with a compatible Mac this fall. You can check out all the details in Apple's official macOS announcement on the Newsroom.
    • Google introduces new analytics tools in Classroom by David Uzondu Google has started the rollout of new analytics tools for Google Classroom, adding a bunch of ways for educators to monitor the activity of their students. This latest addition puts a new "Analytics" tab on class pages, which, according to Google, is meant to help teachers "see relevant insights on the class analytics page that alert them on how students are progressing and where they may need additional support." For example, on the new page, there might pop up a notification saying "3 students' grades increased over 25% since last month," or, on the flip side, "1 student turned in over half their assignments late in the last month." On the Classwork page, teachers can now see a number next to an assignment showing how many students have not even opened the attached files in Google Drive. For any teacher who has stared at a blank submission list, wondering if a student is struggling or just forgot. It shows who has not even started, letting teachers poke a student privately or nudge the whole class to get going. Google says insights are triggered by factors like approaching deadlines or performance issues, such as a student scoring below 70%. But here is the catch: these new tools are not for everyone. This is a premium feature, locked behind the paid Google Workspace for Education Plus license, so schools using the free version are completely out of luck. For those with a subscription, the student engagement metric that shows unopened Drive files is available right now. The main "Analytics" tab and its associated alerts, however, are on a slower schedule. Their extended rollout begins today. The company says the tab itself should show up by June 30, while the full set of insights will continue to appear, with everything expected to be in place by August 1, 2025. Super admins get access to this automatically and will have to decide which other education leaders and staff get to see all the new data.
    • I welcome thee! Here here!
    • I noticed that macOS STILL does not have a Menubar Icon manager. Top right hand corner is already getting cluttered and they've needlessly added two extra things. We need a better way to manage it and all the third-party tools out there are awful. Don't offer me alternatives, I've tried them more than they are rubbish! Apple, fix this!
  • Recent Achievements

    • Rookie
      CHUNWEI went up a rank
      Rookie
    • Enthusiast
      the420kid went up a rank
      Enthusiast
    • Conversation Starter
      NeoToad777 earned a badge
      Conversation Starter
    • Week One Done
      VicByrd earned a badge
      Week One Done
    • Reacting Well
      NeoToad777 earned a badge
      Reacting Well
  • Popular Contributors

    1. 1
      +primortal
      484
    2. 2
      +FloatingFatMan
      277
    3. 3
      ATLien_0
      257
    4. 4
      Edouard
      206
    5. 5
      snowy owl
      199
  • Tell a friend

    Love Neowin? Tell a friend!