mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 10:37:39 -07:00
uniq databases during restore
This commit is contained in:
parent
52db853acf
commit
8976066313
1 changed files with 1 additions and 1 deletions
|
@ -649,7 +649,7 @@ if [ "$db" != 'no' ]; then
|
|||
|
||||
# Create domain list
|
||||
db_list=$(tar -tf $BACKUP/$backup | grep "^./db" |\
|
||||
grep db.conf | cut -f 3 -d '/')
|
||||
grep db.conf | cut -f 3 -d '/' |sort -u)
|
||||
if [ ! -z "$db" ]; then
|
||||
db_include_list=$(mktemp)
|
||||
for db_include in ${db//,/ }; do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue