batchfile for daily synchronisation

Moderated forum for Dutch users

Moderators: white, Rein de Jong, Folkert

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

batchfile for daily synchronisation

Post by *walm » 2015-06-21, 14:29 UTC

I want to make a daily synchronisation between several directories.
How can I make a batchfile ?

seb-
Senior Member
Senior Member
Posts: 272
Joined: 2011-11-15, 06:14 UTC
Location: DE\BN

Post by *seb- » 2015-06-21, 16:44 UTC

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: 2173
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Use RoboCopy in batchfile for daily synchronisation

Post by *Stefan2 » 2015-06-22, 06:23 UTC

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: 7
Joined: 2011-12-31, 14:10 UTC

Post by *walm » 2015-06-22, 07:20 UTC

thank you!

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

Post by *walm » 2015-06-22, 07:21 UTC

thank you!

Post Reply