Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP SQL Anywhere, on-demand edition 1.0 SP 6 » Task syntax

AlterBackupCopy task

Alter the expiration date of an existing backup copy.

Syntax 1 (SQL)
CALL DBCloud.AlterBackupCopy ( backupcopy=backupcopy [, optional-parameters ] )
Syntax 2 (Cloud Command utility)
dbcloudcmd run AlterBackupCopy backupcopy [ optional-parameters ]
  • backupcopy

    The backup copy to modify. Accepts a backup copy name, ID, or a search query that identifies a single backup copy. (Required)

  • expiration_date

    The new expiration date for the backup copy. Must be in the future. The format is YYYY-MM-DD. The default is NULL.

  • object_etag

    Internal use only. The default is NULL.

  • object_updated

    Last time the object was modified. If provided, the task fails if the object has changed since specified time. The default is NULL.

Required privileges



This task modifies the expiration date of an existing backup copy. The expiration date is the earliest date that a backup copy is automatically deleted by its associated maintenance plan.


Run the following task to set the expiration date to August 15, 2013.

dbcloudcmd run AlterBackupCopy backupcopy=BC-c9m5 expiration_date=2013-08-15