blob: 60baceb5c5c4c1de98d41db1a13c3b7ca975fb0c (
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
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tango.PPC.Common.BackupRestore
{
public interface IBackupManager
{
/// <summary>
/// Occurs when the backup/restore procedure makes progress.
/// </summary>
event EventHandler<BackupRestoreEventArgs> 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);
}
}
|