I have a large game file archive (~100 GB) website. I'd like to add a mirror site for the files so users can download them from either server. What's the easiest way to mirror the files to the second server? New files are added daily, so I'll need to update the mirror multiple times a day.
The easiest way would be if you have shell access on both servers, and can initiate an rsync: rsync -avz --progress --delete /path/to/files server:/path/to/files/on/server Code (markup):
If you setup a password-less SSH key, then yes, you could automate it via a cronjob. ssh-keygen -t dsa Code (markup):
I don't have root access to my servers, though I do have shell access. Will that prevent me from using rsync via a cronjob?