mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-05-24 00:52:23 -04:00
19 lines
584 B
C#
19 lines
584 B
C#
using System.Collections.Generic;
|
|
using Microsoft.Extensions.Configuration;
|
|
|
|
namespace API.Interfaces.Services
|
|
{
|
|
public interface IBackupService
|
|
{
|
|
void BackupDatabase();
|
|
/// <summary>
|
|
/// Returns a list of full paths of the logs files detailed in <see cref="IConfiguration"/>.
|
|
/// </summary>
|
|
/// <param name="maxRollingFiles"></param>
|
|
/// <param name="logFileName"></param>
|
|
/// <returns></returns>
|
|
IEnumerable<string> LogFiles(int maxRollingFiles, string logFileName);
|
|
|
|
void CleanupBackups();
|
|
}
|
|
} |