-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from michaelmsonne/Add-toolToUnzipSingleBackup
### Added - Added a new tool (**AzureDevOpsBackupUnzipTool**) to the application, there let you unzip backups from .zip files based on the backup folder with the metadata files (.json), so the backups can be restored for a single project to save disk space vs unzipping all based on how many projects you have to backup, if you only need to restore a single project and not want to unzip the whole backup for all projects - An option to not attach the logfile to the email report with argument: '**--noattatchlog**' - Added support to send email report to multiple recipients with argument: '**--to**' - separated by comma ### Changed - Changed default install folder name (reflects only the installer) - Changed logfile location in the **'.\Log'** folder - now in a subfolder the the 2 tools to it not being mixed and supports for cleanup: - **AzureDevOpsBackupTool.exe**: **'.\Logs\Backup'** - **AzureDevOpsBackupUnzipTool.exe**: **'.\Logs\Unzip tool'** ### Fixed - A lot documentation and help text overall fixed/added Dump v. to 1.1.0.0
- Loading branch information
Showing
26 changed files
with
1,119 additions
and
143 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,8 @@ public static void DisplayGuide() | |
Console.WriteLine("\t--server: IP address or DNS name of the SMTP server"); | ||
Console.WriteLine("\t--port: The port for the SMTP server"); | ||
Console.WriteLine("\t--from: The email address the report is send from"); | ||
Console.WriteLine("\t--toemail: The email address the report is send to\n"); | ||
Console.WriteLine("\t--to: The email address the report is send to - support multiple recipients with"); | ||
Console.WriteLine("\t\t\t argument separated by comma"); | ||
Console.WriteLine(" Optional:"); | ||
Console.WriteLine("\t--tokenfile <token>: Save a token to access the API in Azure DevOps to an encrypted token.bin file"); | ||
Console.WriteLine("\t\t\t (use this before using the '--token token.bin' argument!)"); | ||
|
@@ -36,6 +37,7 @@ public static void DisplayGuide() | |
Console.WriteLine("\t\t\t be deleted (default is 30 dayes) (optional)"); | ||
Console.WriteLine("\t--simpelreport: If set the email report layout there is send is simple, if not set it use the default"); | ||
Console.WriteLine("\t\t\t report layout"); | ||
Console.WriteLine("\t--noattatchlog: Set the email report to not attach the logfile in the mail report sent"); | ||
Console.WriteLine("\t--priority: Set the email report priority to other then default (normal)"); | ||
Console.WriteLine("\t high: Set the email report priority to 'high'"); | ||
Console.WriteLine("\t low: Set the email report priority to 'low'"); | ||
|
@@ -57,7 +59,9 @@ public static void DisplayGuide() | |
Console.WriteLine($"\t{Globals._currentExeFileName} --token XXX... --org OrgName --backup C:\\Backup --server smtp.domain.local"); | ||
Console.WriteLine("\t--port 25 --from [email protected] --to [email protected] --unzip --simpelreport --priority high\n"); | ||
Console.WriteLine($"\t{Globals._currentExeFileName} --token token.bin --org OrgName --backup C:\\Backup --server smtp.domain.local"); | ||
Console.WriteLine("\t--port 25 --from [email protected] --to [email protected] --unzip --simpelreport --priority low"); | ||
Console.WriteLine("\t--port 25 --from [email protected] --to [email protected] --unzip --simpelreport --priority low\n"); | ||
Console.WriteLine($"\t{Globals._currentExeFileName} --token token.bin --org OrgName --backup C:\\Backup --server smtp.domain.local"); | ||
Console.WriteLine("\t--port 25 --from [email protected] --to [email protected],[email protected] --unzip --noattatchlog"); | ||
Console.WriteLine(); | ||
Console.WriteLine("Output:"); | ||
Console.WriteLine("\tA timestamped folder containing the backup will be created within this directory unless --backup"); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.