Articles Comments

{ Berbagi, Menulis, Dan Mengajar } Ilmu… » 7. Operating System » RSYNC OKE

RSYNC OKE

# apt-get install rsync
# ssh-keygen -t rsa
# scp .ssh/id_rsa.pub root@remotebox1.server.com:.ssh/authorized_keys2
# scp .ssh/id_rsa.pub root@remotebox2.server.com:.ssh/authorized_keys2

—> Kalo Menggunakan Port lain

#scp -P23 limanjaya01072014.sql dms@www.ikc.co.id:/home/dms

#rsync -avz -e ssh /home/ root@192.168.11.254:/home/dms/rsync-files
#rsync -avz -e ssh /etc/ root@192.168.11.254:/home/dms/rsync-files
#rsync -avz -e ssh /var/lib/mysql root@192.168.11.254:/home/dms/rsync-files
—-

—-
Isikan ke crontab …


Filed under: 7. Operating System

Leave a Reply

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>