Backing up with RSYNC
Backing up with RSYNC RSYNC is a program that is widely used for backing up data. RSYNC is able to create full, as well as incremental backups, and is pretty easy to use. Moreover, RSYNC can also be used to backup data into remote machines. When backing up to remote machine, RSYNC can utilize SSH which means the communication is being protected by one of the world’s strongest protections. Here’s how RSYNC can be used – Objective All files in the directory /original needs to be backed up at /backup . The process must be repeated every 10 days. The directory /backup needs to be backed up at 192.168.10.254:/backup2 . The process must be repeated every 15 days. Phase 1: We are using the –a option for ‘ archive’ . Archive is used to preserve permissions. The –v option is used for ‘verbose’ output. root@firefly:~# ls -l /original/ total 0 -rw-r--r-- 1 root root 0 Dec 21 19:40 f1 -rw-r--r-- 1 root root 0 Dec 21 19:40 f2 -rw-r--r-- 1 root root 0 Dec 21 19:40 f3 ...