Fix silly capital L typo

This commit is contained in:
benjamin melançon 2022-03-06 21:58:19 -05:00
parent f5ef2ef668
commit 8ba651139e

View file

@ -50,7 +50,7 @@ done
if [ "$backup" = "true" ]; then if [ "$backup" = "true" ]; then
echo "Backing up live database..." echo "Backing up live database..."
live_backup="prod_$(date +%Y%m%dT%H%M%S).sql" 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_cmd="$remote_drush sql-dump --gzip --structure-tables-key=common --result-file=~/backups/$live_backup"
ssh agaric_live@elizabeth.mayfirst.org $ssh_cmd ssh agaric_live@elizabeth.mayfirst.org $ssh_cmd
live_backup="${live_backup}.gz" live_backup="${live_backup}.gz"