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