Skip to content

Commit 971c2d0

Browse files
committed
Update restore.sh
1 parent 9b0bdb0 commit 971c2d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

restore.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ restore()
8282
f_log "Error: Database $BDD dose not exists";
8383
else
8484

85-
tables=$(ls -1 $DIR/$BDD | grep -v __ | grep -v _part_ | awk -F. '{print $1}' | sort | uniq)
85+
tables=$(ls -1 $DIR/$BDD | grep -v __ | grep .sql | awk -F. '{print $1}' | sort | uniq)
8686

8787
f_log "Create tables in $BDD"
8888
for TABLE in $tables; do

0 commit comments

Comments
 (0)