diff options
| author | JP Dillingham <jp@dillingham.me> | 2022-09-29 08:27:31 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2022-09-29 08:27:31 -0500 |
| commit | 0727a46658b6de94edcedbb1e496b08d2737ca31 (patch) | |
| tree | 3b49e75f05024428ce0368595c7bbb92c8bc741f /src/slskd/Shares/ShareService.cs | |
| parent | bf3e8790af148e5c9cb48ebc16308ce926dba8f5 (diff) | |
| download | slskd-0727a46658b6de94edcedbb1e496b08d2737ca31.tar.gz | |
move backup and restore
Diffstat (limited to 'src/slskd/Shares/ShareService.cs')
| -rw-r--r-- | src/slskd/Shares/ShareService.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/slskd/Shares/ShareService.cs b/src/slskd/Shares/ShareService.cs index d5fd417e..e11e59e9 100644 --- a/src/slskd/Shares/ShareService.cs +++ b/src/slskd/Shares/ShareService.cs @@ -265,9 +265,7 @@ namespace slskd.Shares Log.Debug("Share cache backup located. Attempting to restore..."); - Sqlite.Restore( - sourceConnectionString: Program.ConnectionStrings.SharesBackup, - destinationConnectionString: Program.ConnectionStrings.Shares); + Repository.Restore(sourceConnectionString: Program.ConnectionStrings.SharesBackup); Log.Debug("Share cache successfully restored from backup"); } |
