mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-02-05 06:21:52 +01:00
Skip DB backup on Postgres DB
This commit is contained in:
parent
bd834fb4d7
commit
fab1304bcd
1 changed files with 5 additions and 2 deletions
|
|
@ -187,9 +187,12 @@ private void Cleanup()
|
|||
|
||||
private void BackupDatabase()
|
||||
{
|
||||
_logger.ProgressDebug("Backing up database");
|
||||
if (_maindDb.DatabaseType == DatabaseType.SQLite)
|
||||
{
|
||||
_logger.ProgressDebug("Backing up database");
|
||||
|
||||
_makeDatabaseBackup.BackupDatabase(_maindDb, _backupTempFolder);
|
||||
_makeDatabaseBackup.BackupDatabase(_maindDb, _backupTempFolder);
|
||||
}
|
||||
}
|
||||
|
||||
private void BackupConfigFile()
|
||||
|
|
|
|||
Loading…
Reference in a new issue