[ aws . backup-external ]
Updates the configuration of the specified resource provider.
See also: AWS API Documentation
update-resource-provider
--arn <value>
[--name <value>]
[--provider-configuration <value>]
[--secret-configuration-arn <value>]
[--target-configuration <value>]
[--target-tags-on-create <value>]
[--target-tag-keys-to-sync <value>]
[--auto-delete-not-found-targets-after-days <value>]
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]
[--cli-binary-format <value>]
[--no-cli-pager]
[--cli-auto-prompt]
[--no-cli-auto-prompt]
[--cli-error-format <value>]
[--help]
--arn (string) [required]
The Amazon Resource Name (ARN) of the resource provider.
Constraints:
- min:
0- max:
256- pattern:
arn:aws[a-z0-9-]{0,30}:backup-external:[a-z0-9-]{1,30}:[0-9]{12}:resource-provider:[a-z0-9-]{1,30}/[a-z0-9]{1,36}
--name (string)
The name of the resource provider.
Constraints:
- min:
0- max:
64- pattern:
[\p{L}\p{Z}\p{N}_.:/=+\-@]*
--provider-configuration (tagged union structure)
The configuration of the resource provider.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set:MssqlServer,NasShare,OracledbServer,OracledbCluster,ServerHost,VmwareEsxi,VmwareVcenter.MssqlServer -> (structure)
The configuration for a Microsoft SQL Server.
Endpoint -> (string) [required]
A network endpoint used to connect to a resource — can be an IP address, hostname, or FQDN. IPv6 addresses are unbracketed. Ports are not allowed. Max length of 253 as per RFC 1035.
Constraints:
- min:
1- max:
253- pattern:
[a-zA-Z0-9._:-]+NasShare -> (structure)
The configuration for a network-attached storage (NAS) share.
SharePath -> (string) [required]
NAS share path (e.g., “10.0.0.1:/nfs_share” or “//10.0.0.1/smb_share”).
Constraints:
- min:
1- max:
512Protocol -> (string) [required]
The network protocol used to access the network-attached storage (NAS) share.
Possible values:
NFS_3NFS_4_1SMBOracledbServer -> (structure)
The configuration for an Oracle database server.
Endpoint -> (string) [required]
A network endpoint used to connect to a resource — can be an IP address, hostname, or FQDN. IPv6 addresses are unbracketed. Ports are not allowed. Max length of 253 as per RFC 1035.
Constraints:
- min:
1- max:
253- pattern:
[a-zA-Z0-9._:-]+OracledbCluster -> (structure)
The configuration for an Oracle database cluster.
AlternativeEndpoint -> (string)
Alternative endpoint used if the SCAN endpoint is not directly reachable.
Constraints:
- min:
1- max:
253- pattern:
[a-zA-Z0-9._:-]+Endpoint -> (string) [required]
SCAN endpoint used to connect to the cluster.
Constraints:
- min:
1- max:
253- pattern:
[a-zA-Z0-9._:-]+ServerHost -> (structure)
The configuration for a server host.
Endpoint -> (string) [required]
A network endpoint used to connect to a resource — can be an IP address, hostname, or FQDN. IPv6 addresses are unbracketed. Ports are not allowed. Max length of 253 as per RFC 1035.
Constraints:
- min:
1- max:
253- pattern:
[a-zA-Z0-9._:-]+VmwareEsxi -> (structure)
The configuration for a VMware ESXi host.
Endpoint -> (string) [required]
A network endpoint used to connect to a resource — can be an IP address, hostname, or FQDN. IPv6 addresses are unbracketed. Ports are not allowed. Max length of 253 as per RFC 1035.
Constraints:
- min:
1- max:
253- pattern:
[a-zA-Z0-9._:-]+MaxConcurrentStreamsPerDatastore -> (integer)
Maximum number of concurrent backup streams per datastore.
Constraints:
- min:
1MinFreeDatastoreSpaceForBackupPercentage -> (double)
Minimum percentage of free datastore space required for a backup to proceed. Only one of percentage or GB may be passed.
Constraints:
- min:
0- max:
100MinFreeDatastoreSpaceForBackupGB -> (double)
Minimum GB of free datastore space required for a backup to proceed. Only one of percentage or GB may be passed.
Constraints:
- min:
0VmwareVcenter -> (structure)
The configuration for a VMware vCenter Server.
Endpoint -> (string) [required]
A network endpoint used to connect to a resource — can be an IP address, hostname, or FQDN. IPv6 addresses are unbracketed. Ports are not allowed. Max length of 253 as per RFC 1035.
Constraints:
- min:
1- max:
253- pattern:
[a-zA-Z0-9._:-]+MaxConcurrentStreamsPerDatastore -> (integer)
Maximum number of concurrent backup streams per datastore.
Constraints:
- min:
1MinFreeDatastoreSpaceForBackupPercentage -> (double)
Minimum percentage of free datastore space required for a backup to proceed. Only one of percentage or GB may be passed.
Constraints:
- min:
0- max:
100MinFreeDatastoreSpaceForBackupGB -> (double)
Minimum GB of free datastore space required for a backup to proceed. Only one of percentage or GB may be passed.
Constraints:
- min:
0MaxConcurrentVmBackups -> (integer)
Maximum number of VMs that can be backed up concurrently from a vCenter.
Constraints:
- min:
1
Shorthand Syntax:
MssqlServer={Endpoint=string},NasShare={SharePath=string,Protocol=string},OracledbServer={Endpoint=string},OracledbCluster={AlternativeEndpoint=string,Endpoint=string},ServerHost={Endpoint=string},VmwareEsxi={Endpoint=string,MaxConcurrentStreamsPerDatastore=integer,MinFreeDatastoreSpaceForBackupPercentage=double,MinFreeDatastoreSpaceForBackupGB=double},VmwareVcenter={Endpoint=string,MaxConcurrentStreamsPerDatastore=integer,MinFreeDatastoreSpaceForBackupPercentage=double,MinFreeDatastoreSpaceForBackupGB=double,MaxConcurrentVmBackups=integer}
JSON Syntax:
{
"MssqlServer": {
"Endpoint": "string"
},
"NasShare": {
"SharePath": "string",
"Protocol": "NFS_3"|"NFS_4_1"|"SMB"
},
"OracledbServer": {
"Endpoint": "string"
},
"OracledbCluster": {
"AlternativeEndpoint": "string",
"Endpoint": "string"
},
"ServerHost": {
"Endpoint": "string"
},
"VmwareEsxi": {
"Endpoint": "string",
"MaxConcurrentStreamsPerDatastore": integer,
"MinFreeDatastoreSpaceForBackupPercentage": double,
"MinFreeDatastoreSpaceForBackupGB": double
},
"VmwareVcenter": {
"Endpoint": "string",
"MaxConcurrentStreamsPerDatastore": integer,
"MinFreeDatastoreSpaceForBackupPercentage": double,
"MinFreeDatastoreSpaceForBackupGB": double,
"MaxConcurrentVmBackups": integer
}
}
--secret-configuration-arn (string)
The Amazon Resource Name (ARN) of the AWS Secrets Manager secret used to access the resource provider.
Constraints:
- min:
1- max:
1024- pattern:
arn:aws[a-z0-9-]{0,30}:secretsmanager:[a-z0-9-]{1,30}:[0-9]{12}:secret:[a-zA-Z0-9/_+=.@-]{1,512}
--target-configuration (structure)
The default backup configurations for the resource provider’s resource targets, by target type.
MssqlDatabase -> (structure)
The default backup configuration for a Microsoft SQL Server database.
FullBackupAfterDays -> (integer) [required]
A required threshold, in days, that decides whether a backup job takes a full or an incremental backup. When an on-demand or scheduled backup job runs, the job takes a full backup if the target’s most recent full backup is older than this many days; otherwise it takes an incremental backup, falling back to a full backup if an incremental is not possible.
Constraints:
- min:
1- max:
31FullBackupAfterScheduleExpression -> (string)
An optional schedule expression that decides whether a backup job takes a full or an incremental backup. When a backup job runs, the job takes a full backup if none has been taken since the most recent point this expression matched. It is evaluated alongside
FullBackupAfterDays; if either matches, a full backup is taken. This is not a backup schedule and does not start backup jobs. Only cron expressions are supported. Example:cron(0 3 ? * SUN *)for every Sunday at 03:00 UTC.Constraints:
- min:
1- max:
50- pattern:
cron\([^()]+\)BackupStreamCount -> (integer)
Number of parallel streams to use for the backup.
Constraints:
- min:
1- max:
8IsCopyOnlyFull -> (boolean) [required]
Whether to take a copy-only backup, which does not disturb the normal backup sequence (it does not reset the differential base or truncate the transaction log). Used during migration from another backup solution.LogBackupFrequencyInMinutes -> (integer)
If log backup is enabled, the frequency for log backup in minutes
Constraints:
- min:
15- max:
1440NasFilesystem -> (structure)
The default backup configuration for a network-attached storage (NAS) filesystem.
AllowUnencryptedDataTransfer -> (boolean) [required]
Specifies whether unencrypted data transfer is allowed for the network-attached storage (NAS) filesystem.OracledbDatabase -> (structure)
The default backup configuration for an Oracle database.
FullBackupAfterDays -> (integer) [required]
A required threshold, in days, that decides whether a backup job takes a full or an incremental backup. When an on-demand or scheduled backup job runs, the job takes a full backup if the target’s most recent full backup is older than this many days; otherwise it takes an incremental backup, falling back to a full backup if an incremental is not possible.
Constraints:
- min:
1- max:
31FullBackupAfterScheduleExpression -> (string)
An optional schedule expression that decides whether a backup job takes a full or an incremental backup. When a backup job runs, the job takes a full backup if none has been taken since the most recent point this expression matched. It is evaluated alongside
FullBackupAfterDays; if either matches, a full backup is taken. This is not a backup schedule and does not start backup jobs. Only cron expressions are supported. Example:cron(0 3 ? * SUN *)for every Sunday at 03:00 UTC.Constraints:
- min:
1- max:
50- pattern:
cron\([^()]+\)BackupChannelCount -> (integer)
The number of backup channels to use for the Oracle database.
Constraints:
- min:
1- max:
255BackupNodeHostName -> (string)
Hostname of the node to use as the backup leader.
Constraints:
- min:
1- max:
253- pattern:
[a-zA-Z0-9._-]+LogBackupFrequencyInMinutes -> (integer)
If log backup is enabled, the frequency for log backup in minutes
Constraints:
- min:
15- max:
1440LogRetentionOnHostInHours -> (integer)
The log retention period for the host in hours.
Constraints:
- min:
0ServerFilesystem -> (structure)
The default backup configuration for a server filesystem.
BackupConsistency -> (string)
Backup consistency behavior for a server filesystem backup. CRASH_CONSISTENT_* is only applicable to Windows servers.
Possible values:
NON_CONSISTENTCRASH_CONSISTENTCRASH_CONSISTENT_FALLBACK_TO_NON_CONSISTENTPostBackupScript -> (structure)
Script to run after a backup.
ScriptParams -> (string)
The parameters to pass to the backup script.
Constraints:
- min:
0- max:
256ScriptPath -> (string) [required]
A relative path to a script within the
user_scriptsfolder in the agent installation directory on the server.Constraints:
- min:
1- max:
256TimeoutInMinutes -> (integer)
The timeout for the backup script, in minutes.
Constraints:
- min:
1PreBackupScript -> (structure)
Script to run before a backup.
ContinueBackupOnScriptFailure -> (boolean) [required]
Specifies whether to continue the backup if the pre-backup script fails.ScriptParams -> (string)
The parameters to pass to the backup script.
Constraints:
- min:
0- max:
256ScriptPath -> (string) [required]
A relative path to a script within the
user_scriptsfolder in the agent installation directory on the server.Constraints:
- min:
1- max:
256TimeoutInMinutes -> (integer)
The timeout for the backup script, in minutes.
Constraints:
- min:
1VmwareVm -> (structure)
The default backup configuration for a VMware virtual machine.
BackupConsistency -> (string)
The consistency behavior for the VMware virtual machine backup.
Possible values:
APP_CONSISTENT_FALLBACK_TO_CRASH_CONSISTENTAPP_CONSISTENTCRASH_CONSISTENT
Shorthand Syntax:
MssqlDatabase={FullBackupAfterDays=integer,FullBackupAfterScheduleExpression=string,BackupStreamCount=integer,IsCopyOnlyFull=boolean,LogBackupFrequencyInMinutes=integer},NasFilesystem={AllowUnencryptedDataTransfer=boolean},OracledbDatabase={FullBackupAfterDays=integer,FullBackupAfterScheduleExpression=string,BackupChannelCount=integer,BackupNodeHostName=string,LogBackupFrequencyInMinutes=integer,LogRetentionOnHostInHours=integer},ServerFilesystem={BackupConsistency=string,PostBackupScript={ScriptParams=string,ScriptPath=string,TimeoutInMinutes=integer},PreBackupScript={ContinueBackupOnScriptFailure=boolean,ScriptParams=string,ScriptPath=string,TimeoutInMinutes=integer}},VmwareVm={BackupConsistency=string}
JSON Syntax:
{
"MssqlDatabase": {
"FullBackupAfterDays": integer,
"FullBackupAfterScheduleExpression": "string",
"BackupStreamCount": integer,
"IsCopyOnlyFull": true|false,
"LogBackupFrequencyInMinutes": integer
},
"NasFilesystem": {
"AllowUnencryptedDataTransfer": true|false
},
"OracledbDatabase": {
"FullBackupAfterDays": integer,
"FullBackupAfterScheduleExpression": "string",
"BackupChannelCount": integer,
"BackupNodeHostName": "string",
"LogBackupFrequencyInMinutes": integer,
"LogRetentionOnHostInHours": integer
},
"ServerFilesystem": {
"BackupConsistency": "NON_CONSISTENT"|"CRASH_CONSISTENT"|"CRASH_CONSISTENT_FALLBACK_TO_NON_CONSISTENT",
"PostBackupScript": {
"ScriptParams": "string",
"ScriptPath": "string",
"TimeoutInMinutes": integer
},
"PreBackupScript": {
"ContinueBackupOnScriptFailure": true|false,
"ScriptParams": "string",
"ScriptPath": "string",
"TimeoutInMinutes": integer
}
},
"VmwareVm": {
"BackupConsistency": "APP_CONSISTENT_FALLBACK_TO_CRASH_CONSISTENT"|"APP_CONSISTENT"|"CRASH_CONSISTENT"
}
}
--target-tags-on-create (map)
The tags to apply when the resource provider’s resource targets are created.
Constraints:
- min:
0- max:
10key -> (string)
Constraints:
- min:
1- max:
128- pattern:
[\p{L}\p{Z}\p{N}_.:/=+\-@]*value -> (string)
Constraints:
- min:
0- max:
256- pattern:
[\p{L}\p{Z}\p{N}_.:/=+\-@]*
Shorthand Syntax:
KeyName1=string,KeyName2=string
JSON Syntax:
{"string": "string"
...}
--target-tag-keys-to-sync (list)
The tag keys whose values are synchronized from external resources to their resource targets.
Constraints:
- min:
0- max:
10(string)
Constraints:
- min:
1- max:
100- pattern:
[\p{L}\p{Z}\p{N}_.:/=+\-@]*
Syntax:
"string" "string" ...
--auto-delete-not-found-targets-after-days (integer)
The number of days after which resource targets with a status of
NOT_FOUNDare automatically deleted. Specify-1to disable automatic deletion.Constraints:
- min:
-1
--cli-input-json | --cli-input-yaml (string)
Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml.
--generate-cli-skeleton (string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. Similarly, if provided yaml-input it will print a sample input YAML that can be used with --cli-input-yaml. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command. The generated JSON skeleton is not stable between versions of the AWS CLI and there are no backwards compatibility guarantees in the JSON skeleton generated.
--debug (boolean)
Turn on debug logging.
--endpoint-url (string)
Override command’s default URL with the given URL.
--no-verify-ssl (boolean)
By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.
--no-paginate (boolean)
Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results.
--output (string)
The formatting style for command output.
--query (string)
A JMESPath query to use in filtering the response data.
--profile (string)
Use a specific profile from your credential file.
--region (string)
The region to use. Overrides config/env settings.
--version (string)
Display the version of this tool.
--color (string)
Turn on/off color output.
--no-sign-request (boolean)
Do not sign requests. Credentials will not be loaded if this argument is provided.
--ca-bundle (string)
The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.
--cli-read-timeout (int)
The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.
--cli-connect-timeout (int)
The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.
--cli-binary-format (string)
The formatting style to be used for binary blobs. The default format is base64. The base64 format expects binary blobs to be provided as a base64 encoded string. The raw-in-base64-out format preserves compatibility with AWS CLI V1 behavior and binary values must be passed literally. When providing contents from a file that map to a binary blob fileb:// will always be treated as binary and use the file contents directly regardless of the cli-binary-format setting. When using file:// the file contents will need to properly formatted for the configured cli-binary-format.
--no-cli-pager (boolean)
Disable cli pager for output.
--cli-auto-prompt (boolean)
Automatically prompt for CLI input parameters.
--no-cli-auto-prompt (boolean)
Disable automatically prompt for CLI input parameters.
--cli-error-format (string)
The formatting style for error output. By default, errors are displayed in enhanced format.
--help (boolean)
Display help for the command/subcommand.
None