Solved

Whats the best way of deploying PHP code from a Linux Server to a Remote Windows Server?

Posted on 2010-08-17
4
298 Views
Last Modified: 2013-12-06
Hi there,
Im building Symfony PHP projects for use on a Windows IIS/PHP server (I know, I cant change it). Anyway, usually I develop on Linux and use an Rsync method built into Symfony to deploy to another linux server. I cant do that with Windows 2008 server  though, any thoughts on tools or methods that would avoid uploading the full 50Mb code every time? Ive tried FreeSSHd on the server but cant get 64bit rsync.exe or cygwin dlls that will work with the rsync on Debian Lenny...

Any help appreciated!
0
Comment
Question by:Slimshaneey
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 11

Expert Comment

by:Pieter Jordaan
ID: 33457507
0
 
LVL 18

Expert Comment

by:TobiasHolm
ID: 33458155
Hi!

You can use 'lftp'. It's great for mirroring files and you'd just need FTP on the Windows server.

Source code: http://webscripts.softpedia.com/script/Internet-Browsers-C-C/FTP/LFTP-28455.html
alt
http://lftp.yar.ru/

Or just fetch the program with apt-get.

Example to mirror to sites:

SOURCEPATH="/pub/source/"
DESTPATH="/pub/backupserver/source"
DESTSITE="ftp://srv:pass@ipaddress"
lftp -c "open -e \"mirror -Rev '$SOURCEPATH' '$DESTPATH'\" $DESTSITE"

Regards, Tobias
0
 
LVL 3

Accepted Solution

by:
captainmish earned 500 total points
ID: 33462648
Ive used deltacopy (http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp) for similar things, both to and from the windows machine and was very happy with it. Used version (about) 3.0.6 or so against it with no issues. The setup is a bit different, but once its running it needs very little maintenance.
0
 
LVL 11

Author Closing Comment

by:Slimshaneey
ID: 33473573
Never seen DeltaCopy before but its exactly what Im looking for!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Samba Question 11 138
Advice on ESXi 5.1 Health / Storage 1 78
simple bash script needed to unpack tar.gz 4 60
ossec: how to extend rules 1002 and 1003 2 43
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question