views:

36

answers:

1

Hi guys,

mostly i come across a situation where i have to move files between two servers. I usually test my project live in one testing server online and client checks the websties functionality and all. After completing all the task i again have to transfer the contents of the testing server to the live server along with data too...

So for that process i download all the files uploaded by client in the testing server, backup database and again upload the database to new server and client files too. if the client has uploaded less files then it is no prob but in case of large files i really waste my time copying files from one to next.

so how can i make the same process in less time even with large files

A: 

We use SVN which is hosted on our server.

When we want to port the site to a test area we have a test domain name setup which is hosted on the server, and we can just run svn update on a subdomain and it will just copy all of the files across.

When we go live assuming the domain is hosted on the same server we just run svn update on that folder as well. Very quick and easy.

fire
I dun have SVN Hosted in my server
KoolKabin
@KoolKabin - SVN is free. You can also try Git or some other version management. @fire - This is ok, except it doesn't allow for test data, since both use the same DB.
Peter Ajtai
sorry for my english... i meant to say that my hosting server has svn hosted or not i don't know. So how would i know that and if not installed can i install it there?
KoolKabin