Backup Linux system to Windows, keeping file flags and rights
From Andreida
- install Cygwin
- find your home directory using the "Cygwin Terminal"
cygpath -w ~
- copy/link to the .ssh directory your config and your id_rsa files
- test the backup with something small
ssh YOUR-SERVER tar czf - -C / etc/ssl > `date +%FT%T`-YOUR-SERVER-TEST.tar.gz
- do the real backup
ssh YOUR-SERVER tar czf - -C / var/backup/daily.0 > `date +%FT%T`-YOUR-SERVER.tar.gz