Browse Source

Fixed Wrong variables

bugfixes
gau1991 10 years ago
parent
commit
d697060c7d
  1. 2
      src/modules/site/migrate/ee_mod_migrate_data.sh

2
src/modules/site/migrate/ee_mod_migrate_data.sh

@ -7,7 +7,7 @@ function ee_mod_migrate_data()
# Lets FTP or rsync files
rsync -avz --progress $EE_REMOTE_USER@$EE_REMOTE_SERVER:$EE_REMOTE_PATH/ /ee-backup/$EE_DOMAIN/
if [ ! -f /ee-backup/$EE_DOMAIN/wp-config.php ]; then
rsync -avz --progress $EE_REMOTE_SERVER@$EE_REMOTE_SERVER:$EE_REMOTE_PATH/../wp-config.php /ee-backup/$EE_DOMAIN/
rsync -avz --progress $EE_REMOTE_USER@$EE_REMOTE_SERVER:$EE_REMOTE_PATH/../wp-config.php /ee-backup/$EE_DOMAIN/
fi
elif [ "$EE_REMOTE_METHOD" == "ftp" ]; then

Loading…
Cancel
Save