This is the basic steps for backing up. For real time, the backup algorithm may be more complicated where you may wish to have the backup only on certain folder and may exclude certain files/folder. You may refer the following rsync manuals for better understanding before start your backup plan: