batchfile for daily synchronisation

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
walm
Junior Member
Junior Member
Posts: 6
Joined: 2011-12-31, 14:10 UTC

batchfile for daily synchronisation

Post by *walm »

I want to make a daily synchronisation between several directories.
How can I make a batchfile ?
seb-
Senior Member
Senior Member
Posts: 276
Joined: 2011-11-15, 06:14 UTC
Location: DE\BN - only part time TC user after switching to Linux ;)

Post by *seb- »

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.
User avatar
Stefan2
Power Member
Power Member
Posts: 4124
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Use RoboCopy in batchfile for daily synchronisation

Post by *Stefan2 »

walm wrote:I want to make a daily synchronisation between several directories.
How can I make a batchfile ?
You may want to take a look at Microsofts' RoboCopy tool
Robocopy (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 ...
https://technet.microsoft.com/en-us/magazine/ee851678.aspx



[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/


 
walm
Junior Member
Junior Member
Posts: 6
Joined: 2011-12-31, 14:10 UTC

Post by *walm »

thank you!

Moderator message from: white » 2022-04-23, 17:11 UTC

Thread moved from Dutch to English forum
Last edited by white on 2022-04-23, 17:12 UTC, edited 1 time in total.
Reason: thread moved to English forum
Post Reply