Archive

Posts Tagged ‘Linux’

How to mirror your websites using rsync on Linux.

January 15th, 2010

I’ve been given the task at work to mirror all of our websites on-to our local development server. I knew instantly that I needed to use something like rsync but was unsure how to use it. Also rsync runs over SSH and requires human intervention to enter the login password for the remote server over SSH. As I want the mirror to update daily I would need to setup a cron job but that could not work as the rsync command rqquires someone to type in a password.

After Googling I found this fantastic article at How to Forge: Mirror Your Web Site With rsync. It gives an extensive step-by-step guide on how to setup mirroring using rsync, configuring the servers so that rsync does not require a password when connecting to remote server, and how to setup the cron jobs.

Cameron Networking, Operating Systems , , , , ,

How to copy files & folders from server to server in Linux

January 14th, 2010

Found a fantastic guide at crucialp.com on how to copy files in Linux from one server to another using various techniques including SCP, rsync and tar (over SSH).

Check it out:  How to Copy Files Across a Network/Internet in UNIX/LINUX (Redhat, Debian, FreeBSD, etc) – scp tar rsync

Cameron Networking, Operating Systems , ,