diff --git a/restore.sh b/restore.sh index 486d47a..30d6fb3 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 __ | awk -F. '{print $1}' | sort | uniq) + tables=$(ls -1 $DIR/$BDD | grep -v __ | grep -v _part_ | awk -F. '{print $1}' | sort | uniq) f_log "Create tables in $BDD" for TABLE in $tables; do