Indeed.

Here is a sampling of how to use rsync over SSH:
rsync -uv -ae ssh /home/sites/dev.mydomain.com/public_html/ /home/sites/mydomain.com_ssl/public_html/

But remember I'm deploying on the same machine from one root to another. You could easily add --dry-run to test, and ipaddr@/path to send it to another server.

I find rsync to be just about the best tool there is for deployment, especially combined with source control systems (Perforce, CVS and SVN are the tools we use around here). I use the same types of scripts to do initial rollouts of all kinds of applications...

Cheers!

Jonathan


Andreas Weder wrote:

J,

did you try rsync? As pashionate gentoo-er, I'd love to use it
also for deploying e.g. the configs of my Magnolia repositories
:-)

Greetings
Andreas

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
Sent: Montag, 4. Juli 2005 22:00
To: [email protected]
Subject: Re: [magnolia-user] Server migration



How do I migrate from my development into production server? It takes
too long to ftp the repository directory to the remote server. Is there
anyway shorter than this?



For an initial deployment, I would tar.gz up the directory, and simply copy it as one large file. This will be a LOT more effecient than trying to ftp it over piece by piece, and probably cut your time down copying a lot.

Then, when I wanted to run a build in the future, I would use rsync to sync the files.

J

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------



----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to