mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-23 09:35:38 -05:00
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:
@@ -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; }
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user