mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 10:37:39 -07:00
fix for database restore function
This commit is contained in:
parent
19cdf5f103
commit
921f3b857f
1 changed files with 1 additions and 1 deletions
|
@ -488,7 +488,7 @@ if [ "$db" != 'no' ] && [ ! -z "$DB_SYSTEM" ]; then
|
|||
echo -e "$(date "+%F %T") $database" |tee -a $tmpdir/restore.log
|
||||
|
||||
# Checking database existance
|
||||
check_config=$(grep "DB='$db'" $USER_DATA/db.conf)
|
||||
check_config=$(grep "DB='$database'" $USER_DATA/db.conf)
|
||||
|
||||
# Unpacking database container
|
||||
tar xf $BACKUP/$backup -C $tmpdir ./db/$database
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue