Solved

Using robocopy across timezones

Posted on 2006-11-08
4
1,894 Views
Last Modified: 2012-05-05
I need to have a small directory mirrored across two physical servers in two different time zones.  I was going to use robocop but I relaized that if a file gets modified on the server located on the west coast at 9pm est and then the file gets modified or deleted 1 hr later but on the server located on the west coast (pst).  The robocopy mirror will only apply changes that occured the east coast server and not the west coast server because of the time zone difference.  Is there a way to account for the timezone change or another utility i can use?
0
Comment
Question by:blee5
[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
4 Comments
 
LVL 7

Accepted Solution

by:
CharliePete00 earned 500 total points
ID: 17900382
Actually robocopy should work just fine as long as the system that will be running the job doesn't change time zones.  The OS really only uses UTC (aka GMT or Greenwich Mean Time).  The OS adjusts time for the local time zone and daylight savings time offsets before it displays it for you and adjusts back time information you provide before it is used.  As far as the OS is concerned 8 PM PST in Los Angeles and 5 PM EST in New York are both 12 PM UTC.  
0
 

Author Comment

by:blee5
ID: 17900400
Okay greate.  If Im running a mirror,  from the new york server it should pick up files changes that occured on the LA server?
0
 
LVL 7

Expert Comment

by:CharliePete00
ID: 17900529
Yes...

...and if a file is changed at 5 PM in NY (10 PM UTC) and 3 PM in LA (11 PM UTC) the LA file is the last one changed
0
 
LVL 7

Expert Comment

by:CharliePete00
ID: 17900544
...but as always test it to before you put it into production
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Preface Having the need * to contact many different companies with different infrastructures * do remote maintenance in their network required us to implement a more flexible routing solution. As RAS, PPTP, L2TP and VPN Client connections are no…
I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…

735 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