+ Post New Thread
Results 1 to 7 of 7
Windows Server 2008 R2 Thread, Real Time data copy? in Technical; Can anyone think of a file copy solution from one folder to another, that will copy over only new files ...
  1. #1
    jmair's Avatar
    Join Date
    Aug 2007
    Posts
    291
    Thank Post
    65
    Thanked 9 Times in 9 Posts
    Rep Power
    16

    Real Time data copy?

    Can anyone think of a file copy solution from one folder to another, that will copy over only new files in real time (automated)? For example, when I ftp a file to our server, said solution will make a copy of that file and place it into another folder for shared access?

  2. #2

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,689
    Thank Post
    756
    Thanked 1,715 Times in 1,526 Posts
    Rep Power
    438
    Robocopy with the /mir switch?

    Ben

  3. #3
    morganw's Avatar
    Join Date
    Apr 2009
    Location
    Cambridge
    Posts
    818
    Thank Post
    46
    Thanked 132 Times in 126 Posts
    Rep Power
    40
    Windows: DFS-R
    Linux: lsyncd

  4. #4
    jmair's Avatar
    Join Date
    Aug 2007
    Posts
    291
    Thank Post
    65
    Thanked 9 Times in 9 Posts
    Rep Power
    16
    Quote Originally Posted by morganw View Post
    Windows: DFS-R
    Linux: lsyncd
    This is the basic batch I'm running now. Works great, except when I upload a file with the same name as one already in the destination folder, the destination file gets overwritten and I need a copy of both. So I will need to rename the file in the destination folder to time/date first so I will have both versions. Perhaps this is the wrong place for such a question?


    Code:
       @echo off
    cls
    :start
    echo Checking if I can copy
    xcopy C:\location\left C:\location\right /d /s /r /y
    timeout /t 10
    goto start


    I could have sworn that we used to have a code/script section. Couldn't find it so I'm dumping it here.
    Last edited by jmair; 28th May 2013 at 11:36 PM.

  5. #5


    Join Date
    Feb 2007
    Location
    51.403651, -0.515458
    Posts
    9,805
    Thank Post
    262
    Thanked 2,967 Times in 2,182 Posts
    Rep Power
    846
    Quote Originally Posted by jmair View Post
    Works great, except when I upload a file with the same name as one already in the destination folder, the destination file gets overwritten and I need a copy of both.
    If you do not delete anything in the destination folder, won't it get really big over time?

    Quote Originally Posted by jmair View Post
    I could have sworn that we used to have a code/script section. Couldn't find it so I'm dumping it here.
    We do.

    www.edugeek.net/forums/scripts/

  6. Thanks to Arthur from:

    jmair (29th May 2013)

  7. #6
    morganw's Avatar
    Join Date
    Apr 2009
    Location
    Cambridge
    Posts
    818
    Thank Post
    46
    Thanked 132 Times in 126 Posts
    Rep Power
    40
    Maybe look at Unison instead then, if you need to keep backup copies of things that have changed, and you are on Windows.
    http://www.cis.upenn.edu/~bcpierce/u...l.html#backups

  8. Thanks to morganw from:

    jmair (29th May 2013)

  9. #7
    jmair's Avatar
    Join Date
    Aug 2007
    Posts
    291
    Thank Post
    65
    Thanked 9 Times in 9 Posts
    Rep Power
    16
    Thanks for the tip Morganw. I will check that out.



SHARE:
+ Post New Thread

Similar Threads

  1. Auto versioning, real time backup, continuous data backup
    By wesleyw in forum How do you do....it?
    Replies: 0
    Last Post: 20th April 2012, 03:14 PM
  2. [Website] US National Debt Clock : Real Time
    By DaveP in forum Jokes/Interweb Things
    Replies: 3
    Last Post: 10th April 2010, 12:46 PM
  3. Replies: 0
    Last Post: 8th March 2010, 11:31 PM
  4. Real-Time reporting - What are the options ?
    By azadsani in forum Virtual Learning Platforms
    Replies: 3
    Last Post: 3rd August 2009, 09:58 AM
  5. Real Time Screen Capture
    By enjay in forum Windows
    Replies: 7
    Last Post: 11th February 2008, 02:06 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •