Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Using robocopy across timezones

Posted on 2006-11-08
4
Medium Priority
?
2,007 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 2000 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I guess it is not common knowledge to most Wintel engineers/administrators: If you have an SNMP-based monitoring system in your environment (and it's common to have SNMP or Syslog) it's reasonably easy to enable monitoring of the Windows Event logs,…
Learn about cloud computing and its benefits for small business owners.
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

636 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