Solved

Need a solution to sync a folder between two domains with out building a trust

Posted on 2013-06-29
8
1,100 Views
Last Modified: 2013-06-30
I am looking for a Client/host solution to sync files between two domain file servers on different domains. Due to security I can not create a one-way trust, which would be the simplest for me. But I CAN use a client/host solution for the sync. Any suggestions?
0
Comment
Question by:KarlSolid
  • 2
  • 2
  • 2
  • +2
8 Comments
 
LVL 78

Expert Comment

by:David Johnson, CD, MVP
ID: 39287365
You have to have logon information of both domains with a user that has access to both the source and destination folders

net use z: \\domainb.local\share  password /user:domainb.local\username

then you can use whatever tools you want i.e. robocopy / richcopy / xcopy to sync the folders.
0
 

Author Comment

by:KarlSolid
ID: 39287574
No , That will not work. These are seperate domains not on the same lan, they are physically seperate. So net use is nota n option
0
 
LVL 77

Expert Comment

by:arnold
ID: 39287631
VPN between the two systems a viable option? will use net use.

What options do you have? you could sync data to an external resource.

Depending on the quantity of documents, how often changes occur.
0
 
LVL 78

Expert Comment

by:David Johnson, CD, MVP
ID: 39287665
Then you're left with ftp, email, shared location i.e. azure/amazon s3/dropbox/sharefile, or sneakernet
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 30

Expert Comment

by:ded9
ID: 39288199
0
 
LVL 16

Expert Comment

by:AlexPace
ID: 39288250
You could use a Robo-FTP script installed to run as a Windows Service on one side and an FTP server on the other side.  The script would just call the SYNC command in a loop.  The script might look something like this:
:begin 
FTPLOGON "ftp.othersite.net" /user="UserID" /pw="secret" 
SYNC "d:\data\shared\folder\root" "/shared" /subdirs /allowerrors 
FTPLOGOFF 
PAUSE /for=60   ;; sleep for 60 seconds
GOTO begin

Open in new window

In that example I assumed that the server side has a folder or virtual folder named "shared" that is synchronized with the client folder d:\data\shared\folder\root so obviously you would need to change those to match reality.... also the server address and login credentials.  You could use the /type option with the FTPLOGON command if server supports a secure protocol like SFTP or FTPS instead of plain FTP.
0
 
LVL 77

Accepted Solution

by:
arnold earned 500 total points
ID: 39288313
A third system will have to have both upload and download from each.

The issue is that deletions will be a complexity.

System VPN using local domain credentials is the way to go.
0
 
LVL 16

Expert Comment

by:AlexPace
ID: 39288331
Yes a full sync will automatically replace deletions.  If one side is definitely the master copy then the sync could delete orphans on the other side.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Scenario:  You do full backups to a internal hard drive in either product (SBS or Server 2008).  All goes well for a very long time.  One day, backups begin to fail with a message that the disk is full.  Your disk contains many, many more backups th…
With the withdrawal of support for Windows Server 2003 this summer, many clients face the issue of moving away from their 2003 installs. There are a few options out there that many people/companies are selling. But the clients I have, haven't wanted…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

920 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now