Skip to content

Commit 42b0baa

Browse files
committed
Fixed spelling issue in WordPress database backup.
1 parent 3094dfd commit 42b0baa

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

utils/remote_backup.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
#!/usr/bin/env bash
22

33
# Use the settings to check your connection
4-
echo -e "\n${txt_white}${bg_black}Backing up remote database(s). ${txt_end}\n"
4+
echo -e "${bg_black}${txt_white} ${txt_end}"
5+
echo -e "${bg_black}${txt_white} Backing up remote database(s). ${txt_end}"
56
if [ $_arg_full == 'on' ]; then
6-
echo -e "${txt_white}${bg_black} Full customer and order backup.${txt_end}\n"
7+
echo -e "${bg_black}${txt_white} Full customer and order backup. ${txt_end}"
78
fi
9+
echo -e "${bg_black}${txt_white} ${txt_end}"
810

911
ssh -p "${remote_port}" "${remote_username}@${remote_host}" <<ENDSSH
1012
mkdir -p $remote_backup_dir
@@ -22,6 +24,6 @@ n98-magerun db:dump --compression="gzip" --strip="@log @sessions @trade @sales"
2224
fi
2325
2426
if [ $_arg_wordpress == 'on' ]; then
25-
n98-magerun db:dump --compression="gzip" --conneciton="wordpress" --force $remote_backup_dir/latest-wp.sql.gz
27+
n98-magerun db:dump --compression="gzip" --connection="wordpress" --force $remote_backup_dir/latest-wp.sql.gz
2628
fi
2729
ENDSSH

0 commit comments

Comments
 (0)