Added warning when using the Mega backend

This commit is contained in:
Kenneth Skovhede
2025-02-06 21:53:51 +01:00
parent c6e3c20391
commit 3e72768eec
+4
View File
@@ -865,6 +865,10 @@ namespace Duplicati.Library.Main
if (string.Equals(new Library.Utility.Uri(m_backendUrl).Scheme, "tardigrade", StringComparison.OrdinalIgnoreCase))
Logging.Log.WriteWarningMessage(LOGTAG, "TardigradeRename", null, "The Tardigrade-backend got renamed to Storj DCS - please migrate your backups to the new configuration by changing the destination storage type to Storj DCS.");
//Inform the user about the unmaintained Mega support library
if (string.Equals(new Library.Utility.Uri(m_backendUrl).Scheme, "mega", StringComparison.OrdinalIgnoreCase))
Logging.Log.WriteWarningMessage(LOGTAG, "MegaUnmaintained", null, "The Mega support library is currently unmaintained and may not work as expected. Mega has not published an official API so it may break at any moment. Please consider migrating to another backend.");
//TODO: Based on the action, see if all options are relevant
}