Skip to content

Commit 3761019

Browse files
committed
Added the flag to the WordPress db backup.
1 parent c97f36e commit 3761019

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

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

77
## [Unreleased]
88

9+
### Changed
10+
- Added the `--all-tables` flag to the WordPress database backup as some tables were missed without it
11+
12+
913
## [1.7.2] - 2021-08-03
1014
### Changed
1115
- Reverted full WordPress regex find-replace as the domain is used in the main site config not the full url

utils/remote_backup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@ fi
5656
5757
if [ $_arg_wordpress == 'on' ]; then
5858
cd wp
59-
wp search-replace '$old_domain' '$new_domain' --export | gzip > $remote_backup_dir/latest-wp.sql.gz
59+
wp search-replace '$old_domain' '$new_domain' --all-tables --export | gzip > $remote_backup_dir/latest-wp.sql.gz
6060
fi
6161
ENDSSH

0 commit comments

Comments
 (0)