Use this command to update the retention value associated with a client's backup set.
Privilege Class
To issue this command, you must have system privilege or policy privilege for the domain to which the client node is assigned.
Syntax
.-,------------. V | >>-UPDate BACKUPSET-------node_name---+-------------------------> .-,------------------. V | >--------backup_set_name---+---RETention--=--+-days----+--------> '-NOLimit-' >-----+---------------------+---+---------------------+---------> '-BEGINDate--=--date--' '-BEGINTime--=--time--' >-----+-------------------+---+-------------------+-------------> '-ENDDate--=--date--' '-ENDTime--=--time--' >-----+---------------------------------+-----------------------> '-WHERERETention--=--+-days----+--' '-NOLimit-' >-----+-----------------------------------+---------------------> '-WHEREDESCription--=--description--' >-----+--------------------+----------------------------------->< '-Preview=--+-No--+--' '-Yes-'
Parameters
If you specify NOLIMIT, the server retains the volumes containing the backup set forever, unless a user or administrator deletes the volumes from server storage.
You can specify the date by using one of the values below:
Value | Description | Example |
---|---|---|
MM/DD/YYYY | A specific date | 09/15/1999 |
TODAY | The current date | TODAY |
TODAY+days or +days | The current date plus days specified. | TODAY +3 or +3. |
TODAY-days or-days | The current date minus days specified. | TODAY-3 or -3. |
You can specify the date by using one of the values below:
Value | Description | Example |
---|---|---|
HH:MM:SS | A specific time | 10:30:08 |
NOW | The current time | NOW |
NOW+HH:MM or +HH:MM | The current time plus hours and minutes on the specified end date | NOW+02:00 or +02:00. |
NOW-HH:MM or-HH:MM | The current time minus hours and minutes on the specified end date | NOW-02:00 or -02:00. |
You can specify the date by using one of the values below:
Value | Description | Example |
---|---|---|
MM/DD/YYYY | A specific date | 09/15/1999 |
TODAY | The current date | TODAY |
TODAY+days or +days | The current date plus days specified. | TODAY +3 or +3. |
TODAY-days or --days | The current date minus days specified. | TODAY -3 or -3. |
You can specify the date by using one of the values below:
Value | Description | Example |
---|---|---|
HH:MM:SS | A specific time | 10:30:08 |
NOW | The current time | NOW |
NOW+HH:MM or +HH:MM | The current time plus hours and minutes specified | NOW+02:00 or +02:00. |
NOW-HH:MM or-HH:MM | The current time minus hours and minutes specified | NOW-02:00 or -02:00. |
Examples
Task
Update the retention period assigned to backup set PERS_DATA.3099 that contains data from client node JANE. Change the retention period to 70 days.
Related Commands
Table 275. Commands Related to UPDATE BACKUPSET
DEFINE BACKUPSET | Defines a previously generated backup set to a server. |
DELETE BACKUPSET | Generates a backup set of a client's data. |
GENERATE BACKUPSET | Updates a retention value associated with a backup set. |
QUERY BACKUPSET | Displays backup sets. |
QUERY BACKUPSETCONTENTS | Displays contents contained in backup sets. |