Solved

service

Posted on 2006-06-25
8
181 Views
Last Modified: 2010-04-13
Is there a service that can synchronize files between 2 folders?
I need it doing that automatically or at least scheduled.
0
Comment
Question by:Visual3DMaya
8 Comments
 
LVL 13

Expert Comment

by:itcoza
Comment Utility
Hi Visual3DMaya,

Must the data always be the same between the two folders? Or will one act as a backup for the other?

Regards,
M
0
 
LVL 48

Assisted Solution

by:Jay_Jay70
Jay_Jay70 earned 25 total points
Comment Utility
you can use a simple script to do what you are asking
0
 
LVL 43

Accepted Solution

by:
Steve Knight earned 475 total points
Comment Utility
Schedule a job to run robocopy /MIR. Robocopy is available from MS website as part of resource kit.

Using the /MIR switch synchronises the two folders with just "incremental" updates of what has changed.

If one folder is on a server and you want to be able to access the files when disconnected then you could always try the "Offline files" feature of Windows.

let us know which way you want to go.

Steve
0
 
LVL 7

Author Comment

by:Visual3DMaya
Comment Utility
itcoza,
As a backup copy.
Copy newer files from folder a to folder b.
Copy single files from folder a to folder b.
Do nothing, don delete single files from folder b.
Jay_Jay70,
I think the script won't be so simple.
dragon-it,
I'll search for robocopy, it looks like an external dos command. I don think is what i'm searching for.
I need a windows service that run in background and take care of the files.
Is there a site full of windows services, MS or third party?
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 43

Assisted Solution

by:Steve Knight
Steve Knight earned 475 total points
Comment Utility
robocopy is a Microsoft command line program but you can easily schedule it as a task -- you said you scheduled or automatic...

http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en

is link to MS site.

If you don't want any deletions, just keep copying new file then you can just schedule xcopy to run every so often:

xcopy /d copies files that are newer, i.e.

xcopy c:\sourcedir \\server\destshare\destdir /s/e/d/k/o/r

copies subdirectories, empty subdirectories, newer files only, attributes, ownership and access control, overwrite any read only files

I like robocopy (give it a try) because it's error checking is pretty good amongst other things.

Here is a link to a batch file wrapper I use around robocopy:

http://www.experts-exchange.com/Operating_Systems/MSDOS/Q_21895612.html

Steve
0
 
LVL 7

Author Comment

by:Visual3DMaya
Comment Utility
Cool Robocopy only it don like w2k pro.
0
 
LVL 43

Assisted Solution

by:Steve Knight
Steve Knight earned 475 total points
Comment Utility
OK, That version works on 2003 and XP I believe.  You can get a previous version from the W2K or even NT4 resource kit instead which does the same thing basically, maybe some bug fixes in new version... but can't find a downloadble version at the moment.

For what you need xxcopy or xcopy should do the trick by the sound of it -- just schedule it every hour or something.

Steve

0
 
LVL 7

Author Comment

by:Visual3DMaya
Comment Utility
I just want to backup Skype chats and i dono how otherwise.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

763 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

9 Experts available now in Live!

Get 1:1 Help Now