Closed (duplicate)
Project:
Drush
Version:
7.x-5.3
Component:
Core Commands
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 May 2012 at 20:07 UTC
Updated:
31 May 2012 at 16:19 UTC
Hi,
When I try this command
sudo drush rsync @prod @dev1
I get this explicit error
You will destroy data from /home/vhosts/bioscene/dev1/ and replace with data from /home/vhosts/bioscene/prod//
Do you really want to continue? (y/n): y
rsync: --php=/usr/bin/php: unknown option
rsync error: syntax or usage error (code 1) at main.c(1443) [client=3.0.7]
Could not rsync from /home/vhosts/bioscene/prod// to /home/vhosts/bioscene/dev1/ [error]
Is it a confirguration problem on my side?
Thank you.
Comments
Comment #1
Thithi32 commentedIn debug mode I get this extra info:
--php=/usr/bin/php shouldn't appear and /home/vhosts/bioscene/prod// has an extra / at the end.
Any way to getit work?
Comment #2
moshe weitzman commentedComment #3
Thithi32 commentedHi Moshe,
I don't see the duplicated issue?
Are you saying that it is the same problem as my other issue about sql-sync?
Comment #4
moshe weitzman commented#1547546: rsync being passed --php argument (unknown argument for rsrync)
Comment #5
Thithi32 commentedThank you. That was it. Now I manage to make it work.
which drushshowed that drush were using an old version of drush and not the lastest I installaed.