blob: a50f0ab601be3dbb993df6d16bbe940c2c3fc3df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tango.PPC.Common.BackupRestore
{
/// <summary>
/// Represents a backup/restore manager.
/// </summary>
public interface IBackupManager
{
/// <summary>
/// Occurs when the backup/restore procedure makes progress.
/// </summary>
event EventHandler<BackupRestoreProgressEventArgs> Progress;
/// <summary>
/// Creates a backup file containing database, application and firmware versions.
/// </summary>
/// <param name="filePath">The file path.</param>
/// <param name="settings">Backup configuration.</param>
/// <returns></returns>
Task CreateBackup(String filePath, BackupSettings settings);
/// <summary>
/// Restores a backup located in the specified file path.
/// </summary>
/// <param name="filePath">The file path.</param>
/// <returns></returns>
Task Restore(String filePath);
}
}
|