Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rsync src_user@src_hostname:src_dir/ trg_user@target_hostname:target_dir/
- rsync --help
- man rsync
- $ ssh-keygen
- $ ssh-copy-id -i /root/.ssh/id_rsa.pub root@server-ip:
- #!/bin/bash
- ## Rsync script
- ###
- PATH=/usr/bin:
- rsync -auvz root@server-ip:/path/to/directory/ /backup-server/path/to/backup/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement