I want to make a daily synchronisation between several directories.
How can I make a batchfile ?
batchfile for daily synchronisation
Moderators: white, Hacker, petermad, Stefan2
-
- Senior Member
- Posts: 276
- Joined: 2011-11-15, 06:14 UTC
- Location: DE\BN - only part time TC user after switching to Linux ;)
I'm not sure if this is even possible. You can invoke the sync window with a predefined sync profile (check TC help ) but you can only start the comparison automatically, but the sync operation itself must be started manually dor each folder pair.
The sync function in TC is good but quite basic. For more features you should find one of the numerous sync tools that offer more possibilities.
The sync function in TC is good but quite basic. For more features you should find one of the numerous sync tools that offer more possibilities.
Use RoboCopy in batchfile for daily synchronisation
You may want to take a look at Microsofts' RoboCopy toolwalm wrote:I want to make a daily synchronisation between several directories.
How can I make a batchfile ?
https://technet.microsoft.com/en-us/magazine/ee851678.aspxRobocopy (the name is short for Robust File Copy) was introduced with the Windows Server 2003 Resource Kit and is included in all editions of Windows 7.
Its many strengths include the ability to copy all NTFS file attributes and to mirror the contents of an entire folder hierarchy across local volumes or over a network.
...
Robocopy GUI adds more than usability to Robocopy; it also lets you create a library of commonly used copy scripts. Check out this TechNet Magazine article ...
[face=timesnewroman]robocopy \\SourceServer\Share \\DestinationServer\Share /MIR /FFT /Z /XA:H /W:5[/face]
http://improve.dk/simple-file-synchronization-using-robocopy/
[face=timesnewroman]robocopy C:\Data T:\DesktopPC\C-Drive /MIR /XA:H /W:0 /R:1 /REG > C:\externalbackup.log[/face]
http://caughtinpixels.com/how-to-create-a-backup-script-using-robocopy/