Question : Rsync problems

Hi,

I have this script to run rsync and avoid prompt passwod.

This is my script:

#!/usr/bin/expect

spawn rsync --progress -av user@server:/var/www/vhosts/ /backups/vhosts/
expect \"*?assword:*\"
send -- "mypass\r"
expect eof

The problem is, when rsync strart download the files, after a minute crash, but if I run the rsync command "rsync --progress -av user@server:/var/www/vhosts/ /backups/vhosts/" out of script is work very well

Can you help me ?

Best regards

André Bolinhas

Answer : Rsync problems

There is an upgrade package available but it upgrades the entire installation.  They strongly recommend that you backup everything before using it.
http://www.apachefriends.org/en/xampp-windows.html

Upgrading only PHP from a standard PHP package may not work.  XAMPP typically is installed in it's own directories that are different from what a plain PHP installation usually uses.  The ini files are also in a different location.  And there are registry entries for the installations.
Random Solutions  
 
programming4us programming4us