mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-17 13:55:08 +00:00
fix: mysql restore db command with subprocess
This commit is contained in:
parent
21e2b13955
commit
36f150bd95
1 changed files with 1 additions and 1 deletions
|
|
@ -247,7 +247,7 @@ def restore_mariadb(config, site_config, database_file):
|
|||
|
||||
print('Restoring MariaDB')
|
||||
with open(database_file.replace('.gz', ''), 'r') as db_file:
|
||||
run_command(mysql_command + [f"{db_name}", "<"], stdin=db_file)
|
||||
run_command(mysql_command + [f"{db_name}"], stdin=db_file)
|
||||
|
||||
|
||||
def main():
|
||||
|
|
|
|||
Loading…
Reference in a new issue