Whatever message this page gives is out now! Go check it out!

UpdateContinuousBackups

Last update:
May 18, 2026

Description

This function enables or disables the point in time recovery for a specified table.
For more information, see UpdateContinuousBackups.

Category

History

ColdFusion (2021 release): Added this function.

Syntax

serviceHandle.updateContinuousBackups(requestParameters)

Parameters

See request parameters of UpdateContinuousBackups.

Example

<cfscript> 
    cred = { 
        "credentialAlias" : "myalias", 
        "vendorName" : "AWS", 
        "region" : "us-east-2", 
        "secretAccessKey" : "xxxxx", 
        "accessKeyId" : "xxxx" 
   } 
    config = { 
        "serviceName" = "DYNAMODB" 
      } 
    dynamo = getCloudService(cred, config) 
     
    tableName="YearlyProductCatalog" 
    updateStruct={ 
        "PointInTimeRecoverySpecification": {  
            "PointInTimeRecoveryEnabled": true 
         }, 
         "TableName": "#tableName#" 
    } 
    // updateResponse=dynamo.updateContinuousBackups(updateStruct) 
    // writeDump(updateResponse) 
     
    try{ 
        updateResponse=dynamo.updateContinuousBackups(updateStruct) 
        if  
        (updateResponse.ContinuousBackupsDescription.ContinuousBackupsStatus=="ENABLED") 
         
        { 
            writeOutput("Continuous backups enabled") 
        } 
        else{ 
            writeOutput("Continuous backups failed") 
        } 
         
    } 
    catch(any e){ 
        writeDump(e) 
    } 
</cfscript>

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page