PS: if Hobocopy gives an error when starting, you might have to install Microsoft Visual C++ 2010 x86 Redistributable Setup. A mirror sync copies files in one direction only, this is will leave the source folder unchanged and match the destination. Below are instructions on how to use the different services available with this program. I hope some of you will be please with this tip. To open FreeFileSync, double-click the icon on your desktop, or press the Windows key, type FreeFileSync and hit enter. It's best to read & understand the information and play with it in a safe location first.īut in the end, it really works well. Follow the wizard and select FreeFileSync.exe as program to run. Or if you need more help, just shout.Īnyway, always be carefull and know what you are doing if you're trying this tool. Go to Start Control Panel Scheduled Tasks and select Add Scheduled Task. If you're interested, you can read more information about it on the links posted above. HoboCopy does not interrupt or disturb the running WinCC project. This way I don't need to stop the running project. I use this often to backup running WinCC projects on a server to other PC's or my laptop to work offline with the latest versions of the actual project. I hope all of the above is clear enough to get you started. \\PCXX\Backup_WinCCProject is in my case a PC on the network which has a shared read/write access directory, used as a target for the backup of your running WinCC project. recursive means copying also subdirectories (including empty ones)Ĭ:\WinCC_Projects\ is the path of your directory containing the full WinCC project Hobocopy.exe /recursive C:\WINCC_Projects\ \\PCXX\Backup_WinCCProject\ This cmd-file contains a comman-line command to run Hobocopy: This directory contains only 3 files: HoboCopy.exe, HoboCopy.pdb and a command file create with a Text Editor, for example "Backup.cmd". I create a directory on the PC called Hobocopy in which I extract the right Hobocopy release. I've used this several times now on Windows XP and Windows 2003 Server running WinCC v7.0.2. If HoboCopy does not work for you, run the vcredist executable available from the same location you downloaded HoboCopy. However, HoboCopy uses the Visual C++ 8.0 runtime, which may not be present on some machines. Lsyncd has the feature of syncing from one source to multiple targets.Most users can simply unzip the file containing hobocopy.exe into the directory of your choice. Lsyncd aggregates events up to 1000 separate events, or a 15-second delay before synchronizing, whichever happens first, so our changes may not be synced immediately. $ echo "This is line 2" > sample/source/file01.bin If we edit files in the source directory, lsyncd will automatically reflect it in the target directory: $ cat sample/source/file01.bin $ lsyncd -rsync /home/baeldung/sample/source /home/baeldung/sample/targetġ5:41:03 Normal: - Startup, daemonizing. The command above will copy/mirror the source directory recursively to the target directory: $ tree sample I had FreeFileSync working successfully doing syncing from one folder to another shared folder on a second computer over my Local Network and executing it from Windows 8 Task Scheduler, then when I upgraded to Windows 8. If the target directory is on a different machine: $ lsyncd -rsyncssh /home/baeldung/sample/source/ target-path/ See my post for Windows 8.1 on the same subject. Let’s set up a local lsync: $ lsyncd -rsync /home/baeldung/sample/source /home/baeldung/sample/target Our ~/sample/source directory will now sync to ~/sample/target directory every minute. The script removed the files in the target directory successfully. Let’s delete a file ( ~/sample/source/file01.bin) from the source to see if it will also delete the same file from the target: $ rm sample/source/file01.bin
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |