Buckets reference¶
Backup of a bucket¶
There is no automatic backup enabled for buckets. I.e. the files can not be restored in the event of accidental deletion or storage system failure.
Specification¶
-
retentionPeriodDaysis set in number of days, if not set; no retention policy will be set and files can be deleted by application or manually. -
lifecycleConditioncan be set to verify which files/objects are subject to permanent deletion based on the conditions set.agespecifies days it has existed in the bucket before it can be deleted.createdBeforespecifies a date all files created before this date can be deleted.daysSinceCustomTimespecifies the number of days since the object's custom time before it can be deleted.numNewerVersionsspecifies the number of revisions that must be kept, all older revisions can be deleted.withStatespecifies which state (LIVE, ARCHIVED, ANY) the object must have before being subject to permanent deletion.
numNewerVersionsandwithStateare both subject to object versioning being set on objects, as unversioned objects do not have multiple versions and have state value LIVE.