Backup in-progress work (#347)

* Initial checkin of backup service implementation

* Backup initial changes for the quick scenario

* misc changes

* Misc changes for backup in-progress work
This commit is contained in:
Kate Shin
2017-05-12 21:55:16 -07:00
committed by GitHub
parent 327f0a5edd
commit efe48d8bd1
12 changed files with 4796 additions and 4 deletions

View File

@@ -3,10 +3,57 @@
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using System.Collections;
using System.Collections.Generic;
namespace Microsoft.SqlTools.ServiceLayer.DisasterRecovery.Contracts
{
public class BackupInfo
{
public string BackupType { get; set; }
/// <summary>
/// Name of the datbase to perfom backup
/// </summary>
public string DatabaseName { get; set; }
/// <summary>
/// Component to backup - Database or Files
/// </summary>
public int BackupComponent { get; set; }
/// <summary>
/// Type of backup - Full/Differential/Log
/// </summary>
public int BackupType { get; set; }
/// <summary>
/// Backup device - Disk, Url, etc.
/// </summary>
public int BackupDeviceType { get; set; }
/// <summary>
/// The text input of selected files
/// </summary>
public string SelectedFiles { get; set; }
/// <summary>
/// Backupset name
/// </summary>
public string BackupsetName { get; set; }
/// <summary>
/// List of selected file groups
/// </summary>
public Dictionary<string, string> SelectedFileGroup { get; set; }
/// <summary>
/// List of {key: backup path, value: device type}
/// </summary>
public Dictionary<string, int> arChangesList { get; set; }
/// <summary>
/// List of selected backup paths
/// </summary>
public ArrayList BackupPathList { get; set; }
}
}