mirror of
				https://github.com/Kareadita/Kavita.git
				synced 2025-11-04 03:27:05 -05: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();
 | 
						|
    }
 | 
						|
} |