Using rsync to take backup of folder
- by Ali
Hi,
I have a server (Linux) with NAS which is mounted as folder "mount"
I have website in "public_html" folder.
I want to take backup of website in mount folder automatically at certain intervals for e.g. every hour. I read that there is something called "rsync" which is used to make two folders sync. And it doesn't copy all files every time and instead matches if the file has been changed and then only update changed files.
How do I use it to make automatic backups? I have root access to server.
Thanks