Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A user must enable lifecycle policies at the cluster setting level. Use the management API when enabled:

Code Block
languagebash
curl -X PUT --header 'Content-Type: application/json' --header 'Accept: text/plain' -d '{}'
'http://lucky1.tx.caringo.com:91/api/storage/clusters/_self/settings/policy.lifecycle?value=enabled' -u admin:ourpwdofchoicehere
Info

Info

A missing Policy-Lifecycle header on the domain is considered a tacit enablement which that does not require any changes.

...

The preserve query argument on the COPY operations indicates leaving other persisted headers unchanged.

Info

Important

  • Re-transmit all Policy-Lifecycle headers to appear on the new object. It is advised to use the Content UI for editing policy rules.

  • Swarm supports expiration policies currently.

SeeS3 lifecycle policy exampleshttps://docs.aws.amazon.com/AmazonS3/latest/userguide/lifecycle-configuration-examples.html.