mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
Fixed: No longer tries to backup database when using Postgres
This commit is contained in:
parent
2b510c61e5
commit
28a3e0ba1a
1 changed files with 5 additions and 2 deletions
|
@ -183,11 +183,14 @@ namespace NzbDrone.Core.Backup
|
||||||
}
|
}
|
||||||
|
|
||||||
private void BackupDatabase()
|
private void BackupDatabase()
|
||||||
|
{
|
||||||
|
if (_maindDb.DatabaseType == DatabaseType.SQLite)
|
||||||
{
|
{
|
||||||
_logger.ProgressDebug("Backing up database");
|
_logger.ProgressDebug("Backing up database");
|
||||||
|
|
||||||
_makeDatabaseBackup.BackupDatabase(_maindDb, _backupTempFolder);
|
_makeDatabaseBackup.BackupDatabase(_maindDb, _backupTempFolder);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private void BackupConfigFile()
|
private void BackupConfigFile()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue