I'm trying to backup a Linux Server from a Windows 7 Laptop. The Problem I'm facing is that backup solutions for Windows do not recognize Linux symbolic links. The backup clients just follow the symlink and copy it as it was a directory or file and I end up with massiv redundancy and oversized backups. I need the backup client to copy the symlinks as symlinks or skip them.
I installed cygwin to get access to rsync but I couldn't get a backup process running to save data from remote. I have the feeling that the portation of rsync from Linux to Windows via cygwin makes it very difficult to command it the right way.
There must be an easyer way to get that Backup done? Or is rsync the way to go?
Update
I finally went with Cygwin rsync and wrote a shell script to do the job.
The biggest problem was setting up the SSH infrastructure for both Windows and Cygwin and bringing them together. I found a nice Script called ssh-pageant which helped me merge them.
Another problem were the differences between native Bash scripting and Cygwin Bash scripting. But once you have the knack of it, you'll be fine.
cygwin
, or Windows Backup Agent or the rsync Windows Integration?rsync
command line can be not so friendly at a first sight, but really cosy after you rule on its syntax.