{ Berbagi, Menulis, Dan Mengajar } Ilmu… » 7. Operating System » Server Bekap Milik Arif
Server Bekap Milik Arif
root@latihan:/home/dms# cat /home/arif/rsyncvps.sh
#!/bin/bash
rsync -uptorgvlHaz –delete -e “ssh -i /home/arif/.ssh/id_rsa” /home/aplikasi-apps/public_html/ arif@113.20.28.211:/var/www/aplikasi-apps > /dev/null 2>&1
rsync -uptorgvlHaz –delete -e “ssh -i /home/arif/.ssh/id_rsa” /home/aplikasi-ras/public_html/ arif@113.20.28.211:/var/www/aplikasi-ras > /dev/null 2>&1
rsync -uptorgvlHaz –delete -e “ssh -i /home/arif/.ssh/id_rsa” /home/aplikasi-hutangpiutang/public_html/ arif@113.20.28.211:/var/www/aplikasi-hutangpiutang > /dev/null 2>&1
rsync -uptorgvlHaz –delete -e “ssh -i /home/arif/.ssh/id_rsa” /home/aplikasi-pajak/public_html/ arif@113.20.28.211:/var/www/aplikasi-pajak > /dev/null 2>&1
rsync -uptorgvlHaz –delete -e “ssh -i /home/arif/.ssh/id_rsa” /home/aplikasi-sdm/public_html/ arif@113.20.28.211:/var/www/aplikasi-sdm > /dev/null 2>&1
rsync -uptorgvlHaz –delete -e “ssh -i /home/arif/.ssh/id_rsa” /home/aplikasi-neraca/public_html/ arif@113.20.28.211:/var/www/aplikasi-neraca > /dev/null 2>&1
rsync -uptorgvlHaz –delete -e “ssh -i /home/arif/.ssh/id_rsa” /home/aplikasi-dashboard/public_html/ arif@113.20.28.211:/var/www/aplikasi-dashboard > /dev/null 2>&1
rsync -uptorgvlHaz –delete -e “ssh -i /home/arif/.ssh/id_rsa” /home/aplikasi-aruskas/public_html/ arif@113.20.28.211:/var/www/aplikasi-aruskas > /dev/null 2>&1
rsync -uptorgvlHaz –delete -e “ssh -i /home/arif/.ssh/id_rsa” /home/aplikasi-sdm-kpi/public_html/ arif@113.20.28.211:/var/www/aplikasi-sdm-kpi > /dev/null 2>&1
rsync -uptorgvlHaz –delete -e “ssh -i /home/arif/.ssh/id_rsa” /home/aplikasi-forum/public_html/ arif@113.20.28.211:/var/www/aplikasi-forum > /dev/null 2>&1
rsync -uptorgvlHaz –delete -e “ssh -i /home/arif/.ssh/id_rsa” /home/aplikasi-eproc/ arif@113.20.28.211:/var/www/aplikasi-eproc > /dev/null 2>&1
Filed under: 7. Operating System