I have a local(in office) web server which acts as a testing platform for my website. Also its working as a SVN server to manage my websites code.
Also there's a remote web server where my actual web site is hosted. I'd need a method, to set a program or mechanism in my local server to sync my remote server with my local server's file system.
This file syncing can be initiated via an automatic method when the local server's file got changed or I'm OK to manually initiate the syncing.
So as an average linux user I'd like to know what kind of mechanism can be followed to achieve this or actually am I doing the correct thing in these kind of requirement?