OS/Linux
[기능대회] 1과제 RSYNC Backup 구성
_눙이_
2021. 11. 9. 14:26
반응형
srvpv02
#mkdir -p /backup/private-skill39-net
#vi /etc/default/rsync
#mkdir /var/log/rsync
#chmod 777 /var/log/rsync
#cp /usr/share/doc/rsync/examples/rsyncd.conf /etc/
#vi /etc/rsyncd.conf
private
#mkdir /important-data
#vi /usr/local/bin/backup.sh
#chmod +x /usr/local/bin/backup.sh
#vi /etc/crontab
#systemctl restart cron
반응형