mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Skip DB backup on Postgres DB
This commit is contained in:
@@ -187,9 +187,12 @@ namespace NzbDrone.Core.Backup
|
|||||||
|
|
||||||
private void BackupDatabase()
|
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()
|
private void BackupConfigFile()
|
||||||
|
Reference in New Issue
Block a user