Versions Compared

Key

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

...

Note

Use the pshell command "info mybucket" to check if there are any current lifecycle rules as you may overwrite them with the following examples.


Expand
titleExamples...


Panel
titleExample 1 - a basic bucket lifecycle that cleans up failed multi-part uploads after 7 days.


Code Block
pshell> lifecycle mybucket +m 7



Panel
titleExample 2 - a basic bucket lifecycle that turns on versioning and deletes expired non-current objects after 30 days.


Code Block
pshell> lifecycle mybucket +v 30