From 971c2d0b1d7314fda4c4293db6ab5d2073346211 Mon Sep 17 00:00:00 2001 From: mirocow Date: Tue, 16 Feb 2016 16:18:26 +0400 Subject: [PATCH] Update restore.sh --- restore.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restore.sh b/restore.sh index fdcea2f..8d5e53b 100755 --- a/restore.sh +++ b/restore.sh @@ -82,7 +82,7 @@ restore() f_log "Error: Database $BDD dose not exists"; else - tables=$(ls -1 $DIR/$BDD | grep -v __ | grep -v _part_ | awk -F. '{print $1}' | sort | uniq) + tables=$(ls -1 $DIR/$BDD | grep -v __ | grep .sql | awk -F. '{print $1}' | sort | uniq) f_log "Create tables in $BDD" for TABLE in $tables; do