Status: Fixed The problem is that the the file-based backend returns "Directory not found" when asking for the not-yet-mounted folder. Duplicati assumed that this error means that the folder will be created later, and thus returned an empty list, as the folder would be empty when created. This means that the retry logic was not used. Backing up to an empty folder will then result in a full backup being made. But once the files started uploading, the folder is there and the folder is not created, but it is still a full backup. This commit changes the logic a bit, so the list operation will not return until successful and a missing folder will be created during the list operation. This ensures that the backup does not start before there has been a successful listing of the folder. If it fails, there is the normal retry delay, which should be enough to ensure that the folder is re-mounted. There may be warnings in the log, that the auto create failed. I have removed the logic that will auto create the folder during upload, as it should no longer be possible to get to the upload stage without verifying that the folder exists. I have also changed the logic of the --disable-autocreate-folder option, so default value is "false" if it is a backup, and "true" for any other operation, so simply issuing a "list" or "cleanup" will not create folders (it did not do that before either). git-svn-id: https://duplicati.googlecode.com/svn/trunk@1259 59da171f-624f-0410-aa54-27559c288bec
417 lines
18 KiB
C#
417 lines
18 KiB
C#
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// This code was generated by a tool.
|
|
// Runtime Version:4.0.30319.261
|
|
//
|
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
// the code is regenerated.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace Duplicati.Library.Main.Strings {
|
|
using System;
|
|
|
|
|
|
/// <summary>
|
|
/// A strongly-typed resource class, for looking up localized strings, etc.
|
|
/// </summary>
|
|
// This class was auto-generated by the StronglyTypedResourceBuilder
|
|
// class via a tool like ResGen or Visual Studio.
|
|
// To add or remove a member, edit your .ResX file then rerun ResGen
|
|
// with the /str option, or rebuild your VS project.
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
|
internal class BackendWrapper {
|
|
|
|
private static global::System.Resources.ResourceManager resourceMan;
|
|
|
|
private static global::System.Globalization.CultureInfo resourceCulture;
|
|
|
|
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
|
internal BackendWrapper() {
|
|
}
|
|
|
|
/// <summary>
|
|
/// Returns the cached ResourceManager instance used by this class.
|
|
/// </summary>
|
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
internal static global::System.Resources.ResourceManager ResourceManager {
|
|
get {
|
|
if (object.ReferenceEquals(resourceMan, null)) {
|
|
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Duplicati.Library.Main.Strings.BackendWrapper", typeof(BackendWrapper).Assembly);
|
|
resourceMan = temp;
|
|
}
|
|
return resourceMan;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Overrides the current thread's CurrentUICulture property for all
|
|
/// resource lookups using this strongly typed resource class.
|
|
/// </summary>
|
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
internal static global::System.Globalization.CultureInfo Culture {
|
|
get {
|
|
return resourceCulture;
|
|
}
|
|
set {
|
|
resourceCulture = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Failed to automatically create folder, error message: {0}.
|
|
/// </summary>
|
|
internal static string AutoCreateFolderFailed {
|
|
get {
|
|
return ResourceManager.GetString("AutoCreateFolderFailed", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to The backend {0} ({1}) does not support the CreateFolder operation .
|
|
/// </summary>
|
|
internal static string BackendDoesNotSupportCreateFolder {
|
|
get {
|
|
return ResourceManager.GetString("BackendDoesNotSupportCreateFolder", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Unable to find backend for: {0}.
|
|
/// </summary>
|
|
internal static string BackendNotFoundError {
|
|
get {
|
|
return ResourceManager.GetString("BackendNotFoundError", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Attempt to decrypt file {0} failed with error: {1}.
|
|
/// </summary>
|
|
internal static string CachedSignatureDecryptWarning {
|
|
get {
|
|
return ResourceManager.GetString("CachedSignatureDecryptWarning", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to The cache file {0} did not match the expected hash for the same file, ignoring cache file.
|
|
/// </summary>
|
|
internal static string CachedSignatureHashMismatchWarning {
|
|
get {
|
|
return ResourceManager.GetString("CachedSignatureHashMismatchWarning", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Delete transaction completed successfully.
|
|
/// </summary>
|
|
internal static string CompletedDeleteTransaction {
|
|
get {
|
|
return ResourceManager.GetString("CompletedDeleteTransaction", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Completing unfinished delete transaction and removing {0} files.
|
|
/// </summary>
|
|
internal static string CompletingDeleteTransactionWarning {
|
|
get {
|
|
return ResourceManager.GetString("CompletingDeleteTransactionWarning", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to An error occured while attempting to delete cache file {0}.
|
|
/// </summary>
|
|
internal static string DeleteCacheFileError {
|
|
get {
|
|
return ResourceManager.GetString("DeleteCacheFileError", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to A delete operation was started, but failed to complete. Next invocation of a cleanup or delete command will complete the transaction..
|
|
/// </summary>
|
|
internal static string DeleteTransactionFileFoundWarning {
|
|
get {
|
|
return ResourceManager.GetString("DeleteTransactionFileFoundWarning", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to A previously started delete operation was not completed, but the attempt to recover the operation details failed with the message: {1}.
|
|
///
|
|
///If this problem happens more than once, it is possible that the delete transaction file is defect. Try renaming the file "{0}" and the run the operation again. If no errors are reported, it is safe to delete the file, otherwise Duplicati will report what needs to be manually corrected..
|
|
/// </summary>
|
|
internal static string DeleteTransactionFileReadError {
|
|
get {
|
|
return ResourceManager.GetString("DeleteTransactionFileReadError", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Deleting file from delete transaction "{0}".
|
|
/// </summary>
|
|
internal static string DeletingTransactionLeftoverFile {
|
|
get {
|
|
return ResourceManager.GetString("DeletingTransactionLeftoverFile", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to The file {0} was downloaded and had size {1} but the size was expected to be {2}.
|
|
/// </summary>
|
|
internal static string DownloadedFileSizeError {
|
|
get {
|
|
return ResourceManager.GetString("DownloadedFileSizeError", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to The file {0} was found multiple times in the file list, this is likely an error in the backend, please report it to the developers.
|
|
/// </summary>
|
|
internal static string DuplicateFileEntryWarning {
|
|
get {
|
|
return ResourceManager.GetString("DuplicateFileEntryWarning", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Empty backupset detected, this is likely an error: {0}.
|
|
/// </summary>
|
|
internal static string EmptyManifestWarning {
|
|
get {
|
|
return ResourceManager.GetString("EmptyManifestWarning", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to An internal error has occured, a request was made to initiate a delete transaction, but one was already present.
|
|
/// </summary>
|
|
internal static string ExistingDeleteTransactionError {
|
|
get {
|
|
return ResourceManager.GetString("ExistingDeleteTransactionError", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to An error occured while closing a connection: {0}.
|
|
/// </summary>
|
|
internal static string FailureWhileDisposingBackendError {
|
|
get {
|
|
return ResourceManager.GetString("FailureWhileDisposingBackendError", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Failed to delete file "{0}": {1}.
|
|
/// </summary>
|
|
internal static string FileDeleteError2 {
|
|
get {
|
|
return ResourceManager.GetString("FileDeleteError2", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Failed to download file "{0}": {1}.
|
|
/// </summary>
|
|
internal static string FileDownloadError2 {
|
|
get {
|
|
return ResourceManager.GetString("FileDownloadError2", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Failed to retrieve file listing: {0}.
|
|
/// </summary>
|
|
internal static string FileListingError {
|
|
get {
|
|
return ResourceManager.GetString("FileListingError", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Unable to parse filenames for the desired volumes.
|
|
/// </summary>
|
|
internal static string FilenameParseError {
|
|
get {
|
|
return ResourceManager.GetString("FilenameParseError", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to No files removed, specify --force to remove files..
|
|
/// </summary>
|
|
internal static string FilesNotForceRemovedMessage {
|
|
get {
|
|
return ResourceManager.GetString("FilesNotForceRemovedMessage", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Failed to upload file "{0}": {1}.
|
|
/// </summary>
|
|
internal static string FileUploadError2 {
|
|
get {
|
|
return ResourceManager.GetString("FileUploadError2", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Failed to find function: {0}.
|
|
/// </summary>
|
|
internal static string FunctionLookupError {
|
|
get {
|
|
return ResourceManager.GetString("FunctionLookupError", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Hash mismatch on file "{0}", recorded hash: {1}, actual hash {2}.
|
|
/// </summary>
|
|
internal static string HashMismatchError {
|
|
get {
|
|
return ResourceManager.GetString("HashMismatchError", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Invalid entry type: {0}.
|
|
/// </summary>
|
|
internal static string InvalidEntryTypeError {
|
|
get {
|
|
return ResourceManager.GetString("InvalidEntryTypeError", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to There were multiple delete transaction files found. Please manually inspect the target destination and resolve this error..
|
|
/// </summary>
|
|
internal static string MultipleDeleteTransactionsFoundError {
|
|
get {
|
|
return ResourceManager.GetString("MultipleDeleteTransactionsFoundError", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to No backups found at remote location.
|
|
/// </summary>
|
|
internal static string NoBackupsFoundError {
|
|
get {
|
|
return ResourceManager.GetString("NoBackupsFoundError", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to An internal error has occured, a request was made to complete a delete transaction, but there was not a transaction in progress.
|
|
/// </summary>
|
|
internal static string NonExistingDeleteTransactionError {
|
|
get {
|
|
return ResourceManager.GetString("NonExistingDeleteTransactionError", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Failed to match incremental package to a full: {0}.
|
|
/// </summary>
|
|
internal static string OrphanIncrementalFoundMessage {
|
|
get {
|
|
return ResourceManager.GetString("OrphanIncrementalFoundMessage", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Found a partial file, run cleanup to remove: {0}.
|
|
/// </summary>
|
|
internal static string PartialFileFoundMessage {
|
|
get {
|
|
return ResourceManager.GetString("PartialFileFoundMessage", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Deleting orphan file: {0}.
|
|
/// </summary>
|
|
internal static string RemoveOrphanFileWarning {
|
|
get {
|
|
return ResourceManager.GetString("RemoveOrphanFileWarning", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Removing leftover file: {0}.
|
|
/// </summary>
|
|
internal static string RemovingLeftoverFileMessage {
|
|
get {
|
|
return ResourceManager.GetString("RemovingLeftoverFileMessage", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Failed to save the cached signature file as {0}.
|
|
/// </summary>
|
|
internal static string SaveCacheFileError {
|
|
get {
|
|
return ResourceManager.GetString("SaveCacheFileError", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Downloading: {0}.
|
|
/// </summary>
|
|
internal static string StatusMessageDownloading {
|
|
get {
|
|
return ResourceManager.GetString("StatusMessageDownloading", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Uploading: {0} ({1}).
|
|
/// </summary>
|
|
internal static string StatusMessageUploading {
|
|
get {
|
|
return ResourceManager.GetString("StatusMessageUploading", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Auto-cleanup specified but there are {0} orphan files, and there should not be more than 2.
|
|
/// </summary>
|
|
internal static string TooManyOrphansFoundError {
|
|
get {
|
|
return ResourceManager.GetString("TooManyOrphansFoundError", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to The file {0} was found on the backend but not recognized by Duplicati.
|
|
/// </summary>
|
|
internal static string UnmatchedFilenameWarning {
|
|
get {
|
|
return ResourceManager.GetString("UnmatchedFilenameWarning", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to The file {0} was uploaded to the server, but the reported filesize was {1} and the size was expected to be {2}.
|
|
/// </summary>
|
|
internal static string UploadSizeVerificationFailure {
|
|
get {
|
|
return ResourceManager.GetString("UploadSizeVerificationFailure", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to The file {0} was uploaded but not found on the server.
|
|
/// </summary>
|
|
internal static string UploadVerificationFailure {
|
|
get {
|
|
return ResourceManager.GetString("UploadVerificationFailure", resourceCulture);
|
|
}
|
|
}
|
|
}
|
|
}
|