?
Solved

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

Posted on 2010-08-17
4
Medium Priority
?
316 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
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 2000 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

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

Question has a verified solution.

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

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month16 days, 12 hours left to enroll

864 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