Use the
set ttl option to set the time to live for a regular snapshot either as a number of days from set time or an absolute date in the future. Only snapshots without links or restore sessions can be terminated. If the snapshot has links it will be terminated when the last link is unlinked.
NOTE:Once the TTL is set for snapshot it can only be extended forward in time and not set back in time. Refer to Examples below for invalid TTL values.
Options
set ttl
Sets the TTL to the specified days, date or removes TTL, using the following options:
-delta
Days[:hours] — Sets TTL to 1 – 400 days plus 0 –23 hours from current host time. Day Format is days:hours (for hours, only whole numbers are valid and 0 value is optional).
-absolute
Date[:hour] — Sets TTL to an absolute date in the future, up to a date 400 days from current host date, plus 0 –23 hours. Date format is MM/DD/YYYY:hours (for hours, only whole numbers are valid and 0 value is optional).
-delta NONE - Removes TTL.
-snapshot name <SnapshotName>
Specifies the snapshot name.
Examples
To set the TTL for snapshot named
600am and automatically terminate it after 3 days 6 hours, enter:
symsnapvx set ttl -nop -dev 3b5 -snapshot_name 600am -sid 476 -delta 3:6
SetTimeToLive operation execution is in progress for the device range(s). Please wait...
Polling for SetTimeToLive.........................................Started.
Polling for SetTimeToLive.........................................Done.
SetTimeToLive operation successfully executed for the device range(s)
To set the TTL for snapshot named
600am and automatically terminate it at noon on June 1 2017, enter:
symsnapvx set ttl -nop -dev 3b5 -snapshot_name 600am -sid 476 -absolute 06/01/2017:12
SetTimeToLive operation execution is in progress for the device range(s). Please wait...
Polling for SetTimeToLive.........................................Started.
Polling for SetTimeToLive.........................................Done.
SetTimeToLive operation successfully executed for the device range(s)
TTL command fails if attempting to set a secure snapshot back in time from the current setting (noon on June 1 2017):
NOTE:Setting TTL back in time is allowed for regular snapshots.
symsnapvx set ttl -nop -dev 3b5 -snapshot_name 600am -sid 476 -absolute 06/01/2017:0
Invalid option value entered: 6/01/17:0
TTL command fails if attempting to set both days and hours to 0:
symsnapvx set ttl -nop -dev 3b5 -snapshot_name 600am -sid 476 -delta 0:0
The time to live is invalid
TTL command fails if both days and hours are not set:
symsnapvx set ttl -nop -dev 3b5 -snapshot_name 600am -sid 476 -delta :5
Invalid option value entered: :5
symsnapvx set ttl -nop -dev 3b5 -snapshot_name 600am -sid 476 -delta 5:
Invalid option value entered: 5:
Data is not available for the Topic
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please select whether the article was helpful or not.
Comments cannot contain these special characters: <>()\