My Suse

What I have learn so far about Linux and Suse

Thursday, November 16, 2006

How to backup with rsync to a remote computer

Setup ssh without password:
  • Create a rsa key

  • Publish public key on remote server

  • Add key to authorized_keys

  • Test connection without password

Example how to backp the folder Documents, in the user's home to a server with loging 'edu'
rsync -auzv --delete-excluded ~/Documents edu@server:/home/edu/bkp

0 Comments:

Post a Comment

<< Home