File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
3
# 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} "
5
6
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} "
7
8
fi
9
+ echo -e " ${bg_black}${txt_white} ${txt_end} "
8
10
9
11
ssh -p " ${remote_port} " " ${remote_username} @${remote_host} " << ENDSSH
10
12
mkdir -p $remote_backup_dir
@@ -22,6 +24,6 @@ n98-magerun db:dump --compression="gzip" --strip="@log @sessions @trade @sales"
22
24
fi
23
25
24
26
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
26
28
fi
27
29
ENDSSH
You can’t perform that action at this time.
0 commit comments