• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2042
  • Last Modified:

Using robocopy across timezones

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
blee5
Asked:
blee5
  • 3
1 Solution
 
CharliePete00Commented:
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
 
blee5Author Commented:
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
 
CharliePete00Commented:
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
 
CharliePete00Commented:
...but as always test it to before you put it into production
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now