diff --git a/AdvancedInstaller/AdvancedInstaller.aiproj b/AdvancedInstaller/AdvancedInstaller.aiproj index 0765537..10b30c9 100644 --- a/AdvancedInstaller/AdvancedInstaller.aiproj +++ b/AdvancedInstaller/AdvancedInstaller.aiproj @@ -30,7 +30,7 @@ AzureDevOpsBackup {4795920a-5c87-48a0-9fcf-4641d68e9cb6} True - PrimaryOutput;References;LocalizedResourcesOutput + PrimaryOutput;References;ContentOutput diff --git a/AdvancedInstaller/AzureDevOpsBackup Installer.aip b/AdvancedInstaller/AzureDevOpsBackup Installer.aip index 76ae291..27fc781 100644 --- a/AdvancedInstaller/AzureDevOpsBackup Installer.aip +++ b/AdvancedInstaller/AzureDevOpsBackup Installer.aip @@ -7,11 +7,11 @@ - + - + @@ -24,7 +24,7 @@ - + @@ -39,7 +39,7 @@ - + @@ -61,8 +61,9 @@ + - + @@ -79,11 +80,12 @@ - + + @@ -94,7 +96,7 @@ - + @@ -250,6 +252,7 @@ + @@ -309,10 +312,10 @@ - + diff --git a/AzureDevOpsBackup/App.config b/AzureDevOpsBackup/App.config index 3c8f970..04632eb 100644 --- a/AzureDevOpsBackup/App.config +++ b/AzureDevOpsBackup/App.config @@ -27,7 +27,19 @@ - + + + + + + + + + + + + + diff --git a/AzureDevOpsBackup/AzureDevOpsBackup.csproj b/AzureDevOpsBackup/AzureDevOpsBackup.csproj index 6b1764b..17b2533 100644 --- a/AzureDevOpsBackup/AzureDevOpsBackup.csproj +++ b/AzureDevOpsBackup/AzureDevOpsBackup.csproj @@ -73,8 +73,8 @@ packages\Newtonsoft.Json.13.0.3\lib\net45\Newtonsoft.Json.dll - - packages\RestSharp.111.3.0\lib\net48\RestSharp.dll + + packages\RestSharp.111.4.1\lib\net48\RestSharp.dll diff --git a/AzureDevOpsBackup/Properties/AssemblyInfo.cs b/AzureDevOpsBackup/Properties/AssemblyInfo.cs index 030c570..2f20688 100644 --- a/AzureDevOpsBackup/Properties/AssemblyInfo.cs +++ b/AzureDevOpsBackup/Properties/AssemblyInfo.cs @@ -31,5 +31,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.5.9")] -[assembly: AssemblyFileVersion("1.0.5.9")] +[assembly: AssemblyVersion("1.0.6.0")] +[assembly: AssemblyFileVersion("1.0.6.0")] diff --git a/AzureDevOpsBackup/packages.config b/AzureDevOpsBackup/packages.config index 19c6d9e..938b7af 100644 --- a/AzureDevOpsBackup/packages.config +++ b/AzureDevOpsBackup/packages.config @@ -3,7 +3,7 @@ - + diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e5955b..0750086 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ + +## [1.0.6.0] - 08-08-2024 + +### Changed +- Upgraded RestSharp.111.3.0 to RestSharp.111.4.1 + +### Fixed +- Fix an exception has been thrown (Installer bug) +- Fixed some assembly references + ## [1.0.5.9] - 10-07-2024 ### Changed diff --git a/README.md b/README.md index 2c77013..d70fc3f 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ Outline the file contents of the repository. It helps users navigate the codebas | `docs` | Documents/pictures. | | `.gitignore` | Define what to ignore at commit time. | | `CHANGELOG.md` | List of changes to the sample. | -| `CONTRIBUTING.md` | Guidelines for contributing to the TEMPLATE.| +| `CONTRIBUTING.md` | Guidelines for contributing to the AzureDevOpsBackupTool.| | `README.md` | This README file. | | `SECURITY.md` | Security file. | | `LICENSE` | The license for the AzureDevOpsBackupTool. | @@ -61,19 +61,19 @@ Outline the file contents of the repository. It helps users navigate the codebas ### List: - Backup Functionality: - - Repository Backup: Enables users to create local backups of Azure DevOps repositories. - - Customizable Backup Options: Offers various command-line options to tailor the backup process, including specifying backup directories, token authentication, cleanup, backup retention period, and more. - - Zip File Handling: Ability to download repository items as ZIP files and organize them locally, optionally extracting them into a directory structure using the --unzip argument. - - Automated Cleanup: Supports cleanup functionality to manage the disk space occupied by the backup files. + - Repository backup: Enables users to create local backups of Azure DevOps repositories. + - Customizable backup Options: Offers various command-line options to tailor the backup process, including specifying backup directories, token authentication, cleanup, backup retention period, and more. + - Zip file handling: Ability to download repository items as ZIP files and organize them locally, optionally extracting them into a directory structure using the --unzip argument. + - Automated cleanup: Supports cleanup functionality to manage the disk space occupied by the backup files. - Backup Retention: Allows users to specify the number of days to retain backups, automatically removing older backups based on the set retention period using the --daystokeepbackup argument. - Email Reporting: - - Email Notifications: Sends detailed email reports upon backup completion, providing status updates, backup job information, and relevant details. - - Email Customization: Offers different email layouts (--simpelreportlayout) to cater to varying preferences or requirements. - - Priority Configuration: Provides the option to set email priority (--priority) for the backup completion notification. + - Email notifications: Sends detailed email reports upon backup completion, providing status updates, backup job information, and relevant details. + - Email customization: Offers different email layouts (--simpelreportlayout) to cater to varying preferences or requirements. + - Priority configuration: Provides the option to set email priority (--priority) for the backup completion notification. - Logging: - - Job Logging: Stores logs for backup jobs in a designated folder (.\Log) for a defined period (default: 30 days) beside the **AzureDevOpsBackup.exe** executable. + - Job logging: Stores logs for backup jobs in a designated folder (.\Log) for a defined period (default: 30 days) beside the **AzureDevOpsBackup.exe** executable. ## Download @@ -118,6 +118,7 @@ Note we are also saving the original JSON item list we got from the repository c Paramenters: +Backup: - --token - token.bin: Use an encrypted .bin file (based on hardware ID´s) with your personal access token in. (Remember to run --tokenfile to create the file first beside the application .exe!) @@ -133,6 +134,8 @@ Paramenters: - --daystokeepbackup: Set the number of days to retain backup files before automatic removal (default is 30 days if not specified). - --simpelreportlayout: Use this option to use the old email report layout. - --priority : Specify the email priority for notifications (e.g., high, normal, low). Default (normal) if not set. + +General: - --help, /h or /?: Show the help menu - --info or /about: Show the about menu @@ -164,15 +167,9 @@ There is send an email report to the specified email address when the backup is Check out the examples here: -# Email report sample: - -**Full layout:** - -![Screenshot](docs/email-report-full.png) +`.\AzureDevOpsBackup.exe --token "xxxx..." --org "AzureDevOpsOrgName" --backup "D:\Backup data\Azure DevOps" --server "orgdomain-cloud.mail.protection.outlook.com" --port "25" --from "azure-devops-backup@orgdomain.cloud" --to "AZ-DL-AzureDevOpsBackupReports@orgdomain.cloud" --unzip --cleanup --daystokeepbackup 50` -**Simpel layout:** - -![Screenshot](docs/email-report-simpel.png) +`.\AzureDevOpsBackup.exe --token "token.bin" --org "AzureDevOpsOrgName" --backup "D:\Backup data\Azure DevOps" --server "orgdomain-cloud.mail.protection.outlook.com" --port "25" --from "azure-devops-backup@orgdomain.cloud" --to "AZ-DL-AzureDevOpsBackupReports@orgdomain.cloud" --unzip --cleanup --daystokeepbackup 50 --simpelreportlayout --priority high` # Console use: @@ -184,6 +181,16 @@ Check out the examples here: ![Screenshot](docs/help-about.png) +# Email report sample: + +**Full layout:** + +![Screenshot](docs/email-report-full.png) + +**Simpel layout:** + +![Screenshot](docs/email-report-simpel.png) + --- ## Building @@ -221,7 +228,7 @@ Thanks. Reach out to the maintainer at one of the following places: -- [GitHub discussions](https://github.com/michaelmsonne/TEMPLATE/discussions) +- [GitHub discussions](https://github.com/michaelmsonne/AzureDevOpsBackupTool/discussions) - The email which is located [in GitHub profile](https://github.com/michaelmsonne) # License