File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -314,7 +314,7 @@ if [ "$dns" != 'no' ] && [ ! -z "$DNS_SYSTEM" ]; then
314314
315315 # Creating dns domain restore list
316316 backup_domains=$( tar -tf $BACKUP /$backup | grep " ^./dns" )
317- backup_domains=$( echo " $backup_domains " | grep domain_data.tar.gz )
317+ backup_domains=$( echo " $backup_domains " | grep " dns.conf$ " )
318318 backup_domains=$( echo " $backup_domains " | cut -f 3 -d /)
319319 if [ -z " $dns " ] || [ " $dns " = ' *' ]; then
320320 domains=" $backup_domains "
@@ -394,7 +394,7 @@ if [ "$mail" != 'no' ] && [ ! -z "$MAIL_SYSTEM" ]; then
394394
395395 # Creating mail domain restore list
396396 backup_domains=$( tar -tf $BACKUP /$backup | grep " ^./mail" )
397- backup_domains=$( echo " $backup_domains " | grep domain_data.tar.gz )
397+ backup_domains=$( echo " $backup_domains " | grep " mail.conf$ " )
398398 backup_domains=$( echo " $backup_domains " | cut -f 3 -d /)
399399 if [ -z " $mail " ] || [ " $mail " = ' *' ]; then
400400 domains=" $backup_domains "
You can’t perform that action at this time.
0 commit comments