Skip to content

Commit e04cf08

Browse files
committed
Merge branch 'release/v1.2.1'
2 parents 43c9a6a + de51ce6 commit e04cf08

File tree

5 files changed

+17
-5
lines changed

5 files changed

+17
-5
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [1.2.1] - 2020-07-10
10+
### Changed
11+
- Fixed message spacing issue.
12+
- Added version number to the menu help option.
13+
- Added reminder to be in a Magento 2 directory before trying to run the command.
14+
15+
### Fixed
16+
- Installation link was pointing to old version.
17+
18+
919
## [1.2.0] - 2020-07-10
1020
### Added
1121
- Added menu option to allow full customer and order backups.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Magento 2 Production DB Sync v1.1.0
1+
# Magento 2 Production DB Sync v1.2.1
22

33
## About
44
A script to copy over a production database to another server, also has the ability to copy across imagery.
@@ -14,7 +14,7 @@ Currently the script is configured to attempt Magento 2 and WordPress database m
1414

1515
## Installing and Updating
1616
To install or update the script run the following curl script
17-
```curl -o- https://raw.githubusercontent.com/clivewalkden/bash-magento2-db-sync/v1.1.0/install.sh | bash```
17+
```curl -o- https://raw.githubusercontent.com/clivewalkden/bash-magento2-db-sync/v1.2.1/install.sh | bash```
1818

1919
## Usage
2020
To copy over a production database first get a shell on the system you want to copy the data to.

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dbsync_install_dir() {
77
}
88

99
dbsync_latest_version() {
10-
echo "v1.2.0"
10+
echo "v1.2.1"
1111
}
1212

1313
#

utils/menu.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,12 @@ _arg_full="off"
2525

2626
dbsynchelp() {
2727
cat <<-HEREDOC
28-
Magento 2 DB Sync
28+
Magento 2 DB Sync v1.2.1
2929
3030
Syncronize a database from production to staging, testing or development environments.
3131
32+
Make sure you are in a Magento 2 directory before trying to run any scripts.
33+
3234
Usage: db-sync.sh [-f|--(no-)full] [-h|--help]
3335
Options:
3436
-f, --full, --no-full: full database dump (off by default)

utils/remote_backup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Use the settings to check your connection
44
echo -e "\n${txt_white}${bg_black}Backing up remote database(s). ${txt_end}\n"
55
if [ $_arg_full == 'on' ]; then
6-
echo -e "\n${txt_white}${bg_black} Full customer and order backup.${txt_end}\n"
6+
echo -e "${txt_white}${bg_black} Full customer and order backup.${txt_end}\n"
77
fi
88

99
ssh -p "${remote_port}" "${remote_username}@${remote_host}" <<ENDSSH

0 commit comments

Comments
 (0)