publicstaticstringDescription{get{returnLC.L(@"This module will ask the user for an encryption password on the command line unless encryption is disabled or the password is supplied by other means");}}
publicstaticstringPassphraseMismatchError{get{returnLC.L(@"The passphrases do not match");}}
publicstaticstringForcepassphrasefromstdinLong{get{returnLC.L(@"By default, the passphrase is attempted read from the TTY device directly, increasing the security by not copying the passphrase into a stream. In some setups, such as when running detached from a console, this does not work. Set this flag to prevent trying a TTY read and only read the passphrase from STDIN.");}}
publicstaticstringForcepassphrasefromstdinShort{get{returnLC.L(@"Read passphrase from STDIN");}}
}
internalstaticclassCommonOptions
{
publicstaticstringDescription{get{returnLC.L(@"This module exposes a number of common properties that can be used to change the way backends are configured");}}
publicstaticstringIgnoreConsistencyWarningLong{get{returnLC.L(@"This option will suppress the consistency warning that is normally issued when running on a client version of Windows. Enable this option if you are running on a client version of Windows and you are sure that crash-level consistency is acceptable for your use.");}}
}
internalstaticclassMSSQLOptions
{
publicstaticstringDescription{get{returnLC.L(@"This module works internaly to parse source parameters to backup Microsoft SQL Server databases");}}
publicstaticstringDisplayName{get{returnLC.L(@"Configure Microsoft SQL Server module");}}
publicstaticstringDescription{get{returnLC.L(@"This module runs remote synchronization after a successful backup to create a secondary copy (3-2-1).");}}
publicstaticstringBackendSourceLong{get{returnLC.L(@"Specify the source backend string for remote synchronization. If not set, the current backup destination is used.");}}
publicstaticstringDestinationOptionsLong{get{returnLC.L(@"Space-separated key=value pairs for the destination backend, e.g. ""key1=value1 key2=value2"".");}}
publicstaticstringModeLong{get{returnLC.L(@"Specify the trigger modes for remote synchronization, comma-separated: inline (default, after every backup), scheduled (after schedule has passed), counting (after N backups).");}}
publicstaticstringScheduleLong{get{returnLC.L(@"Specify the schedule intervals for remote synchronization, comma-separated, e.g. '7.00:00:00,14.00:00:00'.");}}
publicstaticstringFinishoptionLong{get{returnLC.L(@"Execute a script after performing an operation. The script will receive the operation results written to stdout.");}}
publicstaticstringFinishoptionShort{get{returnLC.L(@"Run a script on exit");}}
publicstaticstringInvalidExitCodeError(stringscript,intexitcode){returnLC.L(@"The script ""{0}"" returned with exit code {1}",script,exitcode);}
publicstaticstringExitCodeError(stringscript,intexitcode,stringmessage){returnLC.L(@"The script ""{0}"" returned with exit code {1}{2}",script,exitcode,string.IsNullOrWhiteSpace(message)?string.Empty:string.Format(": {0}",message));}
publicstaticstringRequiredoptionLong{get{returnLC.L(@"Execute a script before performing an operation. The operation will block until the script has completed or timed out. If the script returns a non-zero error code or times out, the operation will be aborted.");}}
publicstaticstringRequiredoptionShort{get{returnLC.L(@"Run a required script on startup");}}
publicstaticstringResultFormatLong(IEnumerable<string>options){returnLC.L(@"Use this option to select the output format for results. Available formats: {0}",string.Join(", ",options));}
publicstaticstringResultFormatShort{get{returnLC.L(@"Select the output format for results");}}
publicstaticstringScriptExecuteError(stringscript,stringmessage){returnLC.L(@"Error while executing script ""{0}"": {1}",script,message);}
publicstaticstringScriptTimeoutError(stringscript){returnLC.L(@"Execution of the script ""{0}"" timed out",script);}
publicstaticstringStartupoptionLong{get{returnLC.L(@"Execute a script before performing an operation. The operation will block until the script has completed or timed out.");}}
publicstaticstringStartupoptionShort{get{returnLC.L(@"Run a script on startup");}}
publicstaticstringTimeoutoptionLong{get{returnLC.L(@"Set the maximum time a script is allowed to execute. If the script has not completed within this time, it will continue to execute but the operation will continue too, and no script output will be processed.");}}
publicstaticstringTimeoutoptionShort{get{returnLC.L(@"Set the script timeout");}}
publicstaticstringEnableArgumentsLong{get{returnLC.L(@"This option enables the use of script arguments. If this option is set, the script arguments are treated as commandline strings. Use single or double quotes to separate arguments.");}}
publicstaticstringFailedToLookupMXServer(stringoptionname){returnLC.L(@"Unable to find the destination mail server through MX lookup. Please use the option --{0} to specify what SMTP server to use.",optionname);}
publicstaticstringOptionBodyLong{get{returnLC.L(@"This value can be a filename. If the file exists, the file contents will be used as the message body.
In the message body, certain tokens are replaced:
%OPERATIONNAME% - The name of the operation, normally ""Backup""
%REMOTEURL% - Remote server URL
%LOCALPATH% - The path to the local files or folders involved in the operation (if any)
%PARSEDRESULT% - The parsed result, if the operation is a backup. Possible values are: Error, Warning, Success
All command line options are also reported within %value%, e.g. %volsize%. Any unknown/unset value is removed.");}}
publicstaticstringOptionRecipientLong{get{returnLC.L(@"This setting is required if mail should be sent, all other settings have default values. You can supply multiple email addresses separated with commas, and you can use the normal address format as specified by RFC2822 section 3.4.
Example with 3 recipients:
Peter Sample <peter@example.com>, John Sample <john@example.com>, admin@example.com");}}
publicstaticstringOptionSenderLong{get{returnLC.L(@"Use this option to set an address of the email sender. If no host is supplied, the hostname of the first recipient is used. Examples of allowed formats:
publicstaticstringOptionSendlevelLong(stringsuccess,stringwarning,stringerror,stringfatal,stringall){returnLC.L(@"You can specify one of ""{0}"", ""{1}"", ""{2}"", ""{3}"".
You can supply multiple options with a comma separator, e.g. ""{0},{1}"". The special value ""{4}"" is a shorthand for ""{0},{1},{2},{3}"" and will cause all backup operations to send an email.",success,warning,error,fatal,all);}
publicstaticstringOptionSendlevelShort{get{returnLC.L(@"The messages to send");}}
publicstaticstringOptionServerLong{get{returnLC.L(@"Use this option to set a URL for the SMTP server, e.g. smtp://example.com:25. Multiple servers can be supplied in a prioritized list, separated with semicolon. If a server fails, the next server in the list is tried, until the message has been sent.
If no server is supplied, a DNS lookup is performed to find the first recipient's MX record, and all SMTP servers are tried in their priority order until the message is sent.
To enable SMTP over SSL, use the format smtps://example.com. To enable SMTP STARTTLS, use the format smtp://example.com:25/?starttls=when-available or smtp://example.com:25/?starttls=always. If no port is specified, port 25 is used for non-ssl, and 465 for SSL connections. To force not to use STARTTLS use smtp://example.com:25/?starttls=never.");}}
publicstaticstringOptionSubjectLong(stringoptionname){returnLC.L(@"This setting supplies the email subject. Values are replaced as described in the description for --{0}.",optionname);}
publicstaticstringSendMailFailedRetryError(stringfailedserver,stringmessage,stringretryserver){returnLC.L(@"Failed to send email with server: {0}, message: {1}, retrying with {2}",failedserver,message,retryserver);}
publicstaticstringSendMailSuccess(stringserver){returnLC.L(@"Email sent successfully using server: {0}",server);}
publicstaticstringSendmailextraparametersLong{get{returnLC.L(@"Use this option to set extra parameters for the message body. This parameter can either be a querystring (e.g. 'parameter1=value1¶meter2=value2') or a JSON key/value object.");}}
publicstaticstringSendmailextraparametersShort{get{returnLC.L(@"Extra parameters for the message sent");}}
publicstaticstringInvalidRecipient(stringrecipient)=>LC.L(@"The recipient ""{0}"" is not a valid email address. Please use the format ""Name <user@example.com>"" or just ""user@example.com""",recipient);
publicstaticstringNoRecipientsSpecified(stringoptionname)=>LC.L(@"No recipients specified. Please use the option --{0} to specify the recipients.",optionname);
}
internalstaticclassSendJabberMessage
{
publicstaticstringDescription{get{returnLC.L(@"This module provides support for sending status reports via XMPP messages");}}
publicstaticstringSendxmpptoLong{get{returnLC.L(@"Use this option to set the users who should have the messages sent. You can specify multiple users separated with commas.");}}
publicstaticstringSendxmppmessageLong{get{returnLC.L(@"This value can be a filename. If the file exists, the file contents will be used as the message.
In the message, certain tokens are replaced:
%OPERATIONNAME% - The name of the operation, normally ""Backup""
%REMOTEURL% - Remote server URL
%LOCALPATH% - The path to the local files or folders involved in the operation (if any)
%PARSEDRESULT% - The parsed result, if the operation is a backup. Possible values are: Error, Warning, Success
All command line options are also reported within %value%, e.g. %volsize%. Any unknown/unset value is removed.");}}
publicstaticstringSendxmppusernameLong{get{returnLC.L(@"Use this option to set a username for the account that will send the message, including the hostname, e.g. ""account@jabber.org/Home""");}}
publicstaticstringSendxmpplevelLong(stringsuccess,stringwarning,stringerror,stringfatal,stringall){returnLC.L(@"You can specify one of ""{0}"", ""{1}"", ""{2}"", ""{3}"".
You can supply multiple options with a comma separator, e.g. ""{0},{1}"". The special value ""{4}"" is a shorthand for ""{0},{1},{2},{3}"" and will cause all backup operations to send a message.",success,warning,error,fatal,all);}
publicstaticstringSendxmpplevelShort{get{returnLC.L(@"The messages to send");}}
publicstaticstringSendxmppanyoperationLong{get{returnLC.L(@"By default, messages will only be sent after a backup operation. Use this option to send messages for all operations.");}}
publicstaticstringSendxmppanyoperationShort{get{returnLC.L(@"Send messages for all operations");}}
publicstaticstringLoginTimeoutError{get{returnLC.L(@"Timeout occurred while logging in to jabber server");}}
publicstaticstringSendxmppextraparametersLong{get{returnLC.L(@"Use this option to set extra parameters for the message body. This parameter can either be a querystring (e.g. 'parameter1=value1¶meter2=value2') or a JSON key/value object.");}}
publicstaticstringSendxmppextraparametersShort{get{returnLC.L(@"Extra parameters for the message sent");}}
}
internalstaticclassSendTelegramMessage
{
publicstaticstringDescription=>LC.L(@"This module provides support for sending status reports via Telegram messages");
publicstaticstringSendTelegramTopicLong=>LC.L(@"Topic ID for the Topic in the telegram group. For more information on Telegram setup, refer to documentation.");
publicstaticstringSendTelegramlevelLong(stringsuccess,stringwarning,stringerror,stringfatal,stringall){returnLC.L(@"You can specify one of ""{0}"", ""{1}"", ""{2}"", ""{3}"".
You can supply multiple options with a comma separator, e.g. ""{0},{1}"". The special value ""{4}"" is a shorthand for ""{0},{1},{2},{3}"" and will cause all backup operations to send a message.",success,warning,error,fatal,all);}
publicstaticstringSendTelegramLevelShort=>LC.L(@"The messages to send");
publicstaticstringSendTelegramManyOperationLong=>LC.L(@"By default, messages will only be sent after a backup operation. Use this option to send messages for all operations.");
publicstaticstringSendTelegramManyOperationShort=>LC.L(@"Send messages for all operations");
publicstaticstringSendTelegramExtraParametersLong{get{returnLC.L(@"Use this option to set extra parameters for the message body. This parameter can either be a querystring (e.g. 'parameter1=value1¶meter2=value2') or a JSON key/value object.");}}
publicstaticstringSendTelegramExtraParametersShort{get{returnLC.L(@"Extra parameters for the message sent");}}
}
internalstaticclassSendHttpMessage
{
publicstaticstringDescription{get{returnLC.L(@"This module provides support for sending status reports via HTTP messages");}}
publicstaticstringSendhttpmessageLong{get{returnLC.L(@"This value can be a filename. If the file exists, the file contents will be used as the message.
In the message, certain tokens are replaced:
%OPERATIONNAME% - The name of the operation, normally ""Backup""
%REMOTEURL% - Remote server URL
%LOCALPATH% - The path to the local files or folders involved in the operation (if any)
%PARSEDRESULT% - The parsed result, if the operation is a backup. Possible values are: Error, Warning, Success
All command line options are also reported within %value%, e.g. %volsize%. Any unknown/unset value is removed.");}}
publicstaticstringSendhttpmessageparameternameLong{get{returnLC.L(@"Use this option to set a name of the parameter to send the message as.");}}
publicstaticstringSendhttpmessageparameternameShort{get{returnLC.L(@"The name of the parameter to send the message as");}}
publicstaticstringSendhttpextraparametersLong{get{returnLC.L(@"Use this option to set extra parameters for the message body. This parameter can either be a querystring (e.g. 'parameter1=value1¶meter2=value2') or a JSON key/value object.");}}
publicstaticstringSendhttpextraparametersShort{get{returnLC.L(@"Extra parameters for the message sent");}}
publicstaticstringSendhttplevelLong(stringsuccess,stringwarning,stringerror,stringfatal,stringall){returnLC.L(@"You can specify one of ""{0}"", ""{1}"", ""{2}"", ""{3}"".
You can supply multiple options with a comma separator, e.g. ""{0},{1}"". The special value ""{4}"" is a shorthand for ""{0},{1},{2},{3}"" and will cause all backup operations to send a message.",success,warning,error,fatal,all);}
publicstaticstringSendhttplevelShort{get{returnLC.L(@"The messages to send");}}
publicstaticstringSendhttpanyoperationLong{get{returnLC.L(@"By default, messages will only be sent after a backup operation. Use this option to send messages for all operations.");}}
publicstaticstringSendhttpanyoperationShort{get{returnLC.L(@"Send messages for all operations");}}
publicstaticstringHttpverbLong{get{returnLC.L(@"Use this option to change the default HTTP verb used to submit a report.");}}
publicstaticstringHttpverbShort{get{returnLC.L(@"Set the HTTP verb to use");}}
publicstaticstringSendhttpurlsformLong{get{returnLC.L(@"Use this option to set HTTP report URLs for sending form-encoded data. This option accepts multiple URLs, seperated by a semi-colon. All URLs will receive the same data. Note that this option ignores the format and verb settings.");}}
publicstaticstringSendhttpurlsformShort{get{returnLC.L(@"HTTP report URLs for sending form data");}}
publicstaticstringSendhttpurlsjsonLong{get{returnLC.L(@"Use this option to set HTTP report URLs for sending JSON data. This option accepts multiple URLs, seperated by a semi-colon. All URLs will receive the same data. Note that this option ignores the format and verb settings.");}}
publicstaticstringSendhttpurlsjsonShort{get{returnLC.L(@"HTTP report URLs for sending JSON data");}}
publicstaticstringAcceptAnyCertificateLong{get{returnLC.L(@"Use this option to accept any server certificate, regardless of what errors it may have. Please use --{0} instead, whenever possible.","accept-specified-ssl-hash");}}
publicstaticstringAcceptAnyCertificateShort{get{returnLC.L(@"Accept any server certificate");}}
publicstaticstringAcceptSpecifiedCertificateLong{get{returnLC.L(@"If your server certificate is reported as invalid (e.g. with self-signed certificates), you can supply the certificate hash (SHA1) to approve it anyway. The hash value must be entered in hex format without spaces or colons. You can enter multiple hashes separated by commas.");}}
publicstaticstringAcceptSpecifiedCertificateShort{get{returnLC.L(@"Optionally accept a known SSL certificate");}}
publicstaticstringSendHttpRetriesLong{get{returnLC.L(@"Use this option to set the number of retries to attempt if the HTTP request fails.");}}
publicstaticstringSendHttpRetriesShort{get{returnLC.L(@"Set the number of retries");}}
publicstaticstringSendHttpRetryDelayLong{get{returnLC.L(@"Use this option to set the delay between retries.");}}
publicstaticstringSendHttpRetryDelayShort{get{returnLC.L(@"Set the retry delay");}}
}
internalstaticclassReportHelper
{
publicstaticstringSendMessageFailedError(stringmessage){returnLC.L(@"Failed to send message: {0}",message);}
publicstaticstringOptionLoglevelLong{get{returnLC.L("Use this option to set the log level for messages to include in the report.");}}
publicstaticstringOptionLoglevelShort{get{returnLC.L("Define a log level for messages");}}
publicstaticstringOptionLogfilterLong{get{returnLC.L("Use this option to set a filter expression that defines what options are included in the report.");}}
publicstaticstringOptionmaxloglinesLong{get{returnLC.L("Use this option to set the maximum number of log lines to include in the report. Zero or negative values means unlimited.");}}
publicstaticstringResultFormatLong(IEnumerable<string>options){returnLC.L(@"Use this option to select the output format for results. Available formats: {0}",string.Join(", ",options));}
publicstaticstringResultFormatShort{get{returnLC.L(@"Select the output format for results");}}