![]() ![]() Plink -v -t -l manu rsync -daemon -port=1873 -config=$HOME/nf It can be started from the client using following command: Let's start our backup now.įirst, we need to start rsync daemon at the server. To keep commands short, add rsync and plink to Windows path. You can find much information about ssh password less authentication on the web. However you can use any other ssh client too. Since, I have already set up my putty for password-less authentication using public/private key pair and pageant, I'll demonstrate this solution using plink. For ssh client, you can either use ssh that comes with cygwin or plink command line tool that comes with putty. While installing cygwin, remember to select rsync. ![]() rsync is available for windows through cygwin port. We'll start rsync daemon from the client using ssh before starting the backup.Īt Windows side, we need rsync and some ssh client. We don't need to keep rsync deamon running on the server. backup is the path to backup module on filesystem do no chroot (required because I'll run it as a non-root user) For my use, I have set it up like ~]$ cat nf The rsync daemon requires a configuration file nf. I decided to use ssh for transport for security and simplicity. rsync client can connect to rsync server directly or through other remote transport programs like rsh, ssh etc. You can refer to rsync manpage for complete discussion over rsync.). rsync has a client/server architecture, where rsync client talks to an rsync daemon at the server side (This statement may not be completely true. We have a unix machine at our workplace which has a directory structure /backup/username allocated for backing up user data. rsync is known for fast incremental transfer and was an obvious choice for the purpose. Just a simple updated copy of my data on a central machine which is backed up to the tape daily. I didn't want all the features of available expensive backup solutions. I wanted to backup data on my windows laptop to a central linux/unix server. Backing up Windows machines using rsync and ssh by Manu GargĮconomical backup solution: rsync and sshĪs all other unix tricks this is also the result of laziness and the need. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |