Commit Graph
38 Commits
Author SHA1 Message Date
Kenneth Skovhede 40dd3c6816 Updated all license mentions to MIT 2024-02-28 15:45:30 +01:00
awerghcpc ed5d2c23c6 Check that the vhd exists and log a warning if it does not. 2022-03-20 13:49:52 +11:00
awerghcpc 21da623d3f Added null check to fix exception reading vhd settings xml.
The null check for outParams fixes an ArgumentNullException that can occur when backing up hyper-v vms (win10 hyper-v).
2022-02-04 23:07:13 +11:00
Kenneth Hsu f20afd6106 Use ordinal string comparison. 2018-11-21 21:08:13 -08:00
verhoek 8bb406cd15 Migrated to use the platform class. 2018-11-02 22:17:16 +01:00
verhoek b2cc18426c Renamed Library.IO to Library.Common.IO.
Moved basic Platform functions to Library.Common.Platform.
Turned IO_OS into property within Library.Common.
2018-11-02 21:34:07 +01:00
verhoek 4d8155fa43 Merge remote-tracking branch 'origin/master' into issue/3311 2018-10-29 12:13:25 +01:00
verhoek c398dec768 Fixed relevant code issues brought up by codacity. 2018-10-29 12:11:56 +01:00
Max123456 ec02dbca28 added parentheses 2018-10-29 08:33:53 +01:00
verhoek 52916b935b Replaced System.IO.Path with wrapper call to Alphaleonis. 2018-10-28 12:08:09 +01:00
verhoek 87c158f8cc Clean ups. 2018-10-27 21:40:58 +02:00
verhoek 8510f146de Adjusted hyperv VSS functionality to use VSS wrappers. 2018-10-27 12:27:08 +02:00
MaxandGitHub 0f5fe3ab0f Merge pull request #47 from duplicati/master
upstream
2018-10-27 00:14:17 +02:00
Max123456 8139514366 Improve detection Win10 & Win2019Server 2018-10-26 10:06:53 +02:00
Max123456 73d7aaffdc Invariant Upper 2018-10-07 11:47:48 +02:00
Max123456 0c71f0af2c all drives letter uppercase 2018-10-07 11:32:25 +02:00
Max 298ea0ef7a fix for special case 2018-06-29 00:29:15 +02:00
Max b91974e936 additional check for hyper-v service 2018-06-27 19:36:10 +02:00
Kenneth Hsu f12858e6a5 Mark fields that shouldn't be reassigned as readonly.
This makes it explicit at compile-time that these fields should not be
reassigned outside the constructor.
2018-05-25 10:04:52 -07:00
Kenneth Skovhede 842fd96543 Implemented a new logging system that is more transparent and allows a more granular way of picking log messages.
Added ID's to each log message and each exception to allow later introduction of a Knowledgebase service that explains each error in more detail.
2018-03-15 09:12:34 +01:00
Kenneth Skovhede a029890409 Implemented better default error messsages 2017-01-09 11:35:38 +01:00
Max a0ee607bf1 REST API for MSSQL backup and changes in Hyper-V 2016-11-02 00:02:34 +01:00
Max 5c7dfcada7 Refactor of hyper-v backup 2016-10-22 23:08:27 +02:00
Max 6c180cfba1 fixes 2016-10-17 00:11:14 +02:00
Max e4a1ee9afa ability to see hyperv vms paths 2016-10-16 22:36:29 +02:00
Max 572ef050be Hyper-V enum REST API 2016-10-09 15:10:14 +02:00
Max 1434447614 fixes2 2016-10-07 10:37:39 +02:00
Max bac9dcca05 fixes 2016-10-07 10:04:52 +02:00
Max 0cbd292924 fixes for hyper-v
basic logging
added safe checks
2016-10-06 00:26:54 +02:00
Kenneth Skovhede 3441bdb1c5 Tabs-to-spaces fix 2016-09-23 14:11:53 +02:00
Kenneth Skovhede 9f505bd19e Cleaned up HyperVUtility.cs and removed unused code 2016-09-23 09:50:39 +02:00
Kenneth Skovhede f7d5fa4137 Merge branch 'Hyper-V_Backup' of https://github.com/GNicho/duplicati into GNicho-Hyper-V_Backup
Removed unwanted app.config etc

# Conflicts:
#	Duplicati/CommandLine/RecoveryTool/Duplicati.CommandLine.RecoveryTool.csproj
#	Duplicati/Library/Snapshots/Duplicati.Library.Snapshots.csproj
#	Duplicati/Library/Snapshots/packages.config
2016-09-23 09:30:28 +02:00
GNicho c664157547 Finished gathering VHD's
Finished the feature to merge all VHD's before backing up. It now
collects information of the VM and merges the VHD's. We still need to
edit the XML to start from the base VHD and remove the Snapshottree.
2016-05-17 16:36:23 +02:00
GNicho 2a983175a7 Working on collecting parent paths 2016-05-13 15:12:21 +02:00
GNicho 7e788398c8 Merging AVHD's and VHD's
Implemented a feature to merge all VHD's in one. We could present this
as an option the the end-user.

It would also make up for a cleaner backup.

The XML still needs to be edited after the merge so that the config will
point to the parent VHD. Also the snapshots should be removed, these can
still be viewed in the Hyper-V Manager.
2016-05-11 16:50:32 +02:00
GNicho d9cdf55bd8 XML Reader Helpers
Wrote a function to load a XML file. We always copy the XML to the
tempfolder since it might be used by another process when we try to load
the file.

The other function will retrieve the associated active VHD of the
configuration.

The next step would be to copy certain configurations settings from the
backup XML to implement in the previously created Hyper-V machine.
2016-05-10 17:01:14 +02:00
GNicho 03d51410f0 Refactoring Creating Hyper-V in HyperVUtility
Cleaned up the code. Creating Hyper-V Machines
2016-05-10 11:27:41 +02:00
GNicho cd32ef98d5 Creating a VM
Trying to create Test VM from within Duplicati
Refactored some code backup up VM
2016-05-09 17:00:06 +02:00