mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
removed sqlce
This commit is contained in:
parent
b76c6329fe
commit
beb2f7c7fd
105 changed files with 410 additions and 5340 deletions
|
@ -23,13 +23,11 @@ namespace NzbDrone.Core.Providers
|
|||
|
||||
public virtual string CreateBackupZip()
|
||||
{
|
||||
var dbFile = _environmentProvider.GetSqlCeMainDbPath();
|
||||
var configFile = _environmentProvider.GetConfigPath();
|
||||
var zipFile = _environmentProvider.GetConfigBackupFile();
|
||||
|
||||
using (var zip = new ZipFile())
|
||||
{
|
||||
zip.AddFile(dbFile, String.Empty);
|
||||
zip.AddFile(configFile, String.Empty);
|
||||
zip.Save(zipFile);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue