diff --git a/scripts/copy_live_db.sh b/scripts/copy_live_db.sh index 094b0fc..3f4a759 100755 --- a/scripts/copy_live_db.sh +++ b/scripts/copy_live_db.sh @@ -50,7 +50,7 @@ done if [ "$backup" = "true" ]; then echo "Backing up live database..." live_backup="prod_$(date +%Y%m%dT%H%M%S).sql" - remote_drush="/home/agaric_live/site/vendor/bin/drush -r /home/agaric_Live/site/web $verbose" + remote_drush="/home/agaric_live/site/vendor/bin/drush -r /home/agaric_live/site/web $verbose" ssh_cmd="$remote_drush sql-dump --gzip --structure-tables-key=common --result-file=~/backups/$live_backup" ssh agaric_live@elizabeth.mayfirst.org $ssh_cmd live_backup="${live_backup}.gz"