Skip to content

Commit 8976066

Browse files
committed
uniq databases during restore
1 parent 52db853 commit 8976066

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-restore-user

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ if [ "$db" != 'no' ]; then
649649

650650
# Create domain list
651651
db_list=$(tar -tf $BACKUP/$backup | grep "^./db" |\
652-
grep db.conf | cut -f 3 -d '/')
652+
grep db.conf | cut -f 3 -d '/' |sort -u)
653653
if [ ! -z "$db" ]; then
654654
db_include_list=$(mktemp)
655655
for db_include in ${db//,/ }; do

0 commit comments

Comments
 (0)