Backup Home Directory using rsync

Linux를 새로 설치하면서, crontab과 rsync를 사용해 자동으로 홈 디렉토리가 백업되도록 설정했다.

*/30 * * * * rsync -a --delete --force /home/gumdaeng /home/Backup/
*/30 * * * * rsync -a --delete --force gumdaeng@ursus.kaist.ac.kr:/home/gumdaeng/ /home/Backup/ursus/

References:
[1] rsync를 이용한 (공유폴더) 디렉토리 자동(동기화)백업 방법, http://funnylog.kr/439
[2] How to Run Cron Every 5 Minutes, Seconds, Hours, Days, Months, TheGeekStuff, http://www.thegeekstuff.com/2011/07/cron-every-5-minutes/
[3] How To Use rsync Command To Backup Directory Under Linux, NixCraft, http://www.cyberciti.biz/faq/use-rsync-to-backup-directory/

Advertisements
Tagged with: ,
Posted in 2) Computer Engineering

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

누적 방문자 수
  • 103,571 hits
%d bloggers like this: