Packetsync - Synchronize Software Packages - A tool to deploy directories to multiple locations

Packetsync is a tool that is started i.e. during nightly hours to synchronize directories to remote shares using the famous robocopy-tool from Microsoft's resource kit. Packetsync manages individual robocopy-Processes, monitors their actions and is capable to create a remote flag-file to mark a transmission as finished.

Packetsync is controlled by a powerful configuration file which describes which directories need to be synchronizised to which remote servers. Furthermore packetsync implements a quite sophisticated queue which automatically limits the resource consumption on your central server.

Features:

  • Checkpoint on restart with robocopy.exe (data that was already transmitted will not be retransmitted)
  • Packetsync terminates the corresponding robocopy-Processes that reach the timeout value. I.e. you may want to stop the distribution in in the early morning each day.
  • The queue utilizes the master server and your network to a maximum extend.

Packetsync.cfg

Comments start with a hash sign („#“).

################################################

# packetsync.cfg ... synchronisiere Paketdateien

# © Gottfried Rudorfer, Greifenstein

################################################

Section Alias

This section allows you to define alternative names for one or more other aliases or names.

You may use aliases for computer lists, etc.

Example:

[Alias]

Alias1=Computer1,Computer2,Compter3

# List with 3 computers

Alias2=Alias1,-Computer1

# List with computers of Alias1 but without Computer1

 

Alias_ShareUser=user1 # alias for username

Alias_SharePassword=password1 # alias for password

Section Server

This section is used to define the number of remote servers to be served by the source server. With multiple source server definitions the same Packetsync.cfg can be used on multiple servers.

[Server|<Source Server>]

Map=<List of remote Server>

For each source server a definition is required.

Example:

[Server|Q101DEV001]

Map=P701X,-Alias_PROD

[Server|ruhgo01a]

Map=Alias_Self,Alias_LD,Alias_PROD

 

Section RoboCopy

# The next lines define the directories to synchronize

# Robocopy Anweisung *** 1 ***

#[RoboCopy|kodakcd.1000|D:\LIBRARY\APPL\%Alias%|\\%DestServer%\D$\images\APPL\%Alias%]

#Install=Alias_PROD

#Options=/z /e /purge

#FlagFile=%DestDir%\..\FLAGS\%Alias%.flg

# Robocopy Anweisung *** 2 ***

#[RoboCopy|autoinst|D:\%Alias%|\\%DestServer%\D$\%Alias%]

#Install=P701X

#Options=/z /e /purge

#FlagFile=%DestDir%\..\flag\%Alias%.flg

Availability

The tool is available on request from This email address is being protected from spambots. You need JavaScript enabled to view it. .