[Database] Make it clearer to users that a database backup is occurring (#3769)

This commit is contained in:
Chris Miles
2023-12-16 00:44:25 -06:00
committed by GitHub
parent e504482b94
commit 9206163190
@@ -322,6 +322,10 @@ void DatabaseDumpService::DatabaseDump()
pipe_file
);
LogInfo("Backing up database [{}]", execute_command);
LogInfo("This can take a few minutes depending on the size of your database");
LogInfo("LOADING... PLEASE WAIT...");
BuildCredentialsFile();
std::string execution_result = Process::execute(execute_command);
if (!execution_result.empty() && IsDumpOutputToConsole()) {