Hi everyone
Im trying setting a expiration days in a bucket. But i havent success
how i could set the retation day lifecycle in a buket?
Im using the cmd:
s3cmd expire s3://expiration --expiry-days 1
when i look to the lifecycle all look good
s3cmd getlifecycle s3://expiration
<?xml version="1.0" ?>
<Rule>
<ID>6b3u6v4oxtfo9eduutn705dck68amv5f28jk6e86d8vpv65i</ID>
<Prefix/>
<Status>Enabled</Status>
<Expiration>
<Days>1</Days>
</Expiration>
</Rule>
</LifecycleConfiguration>
but when i look to the file inside the bucker:
s3cmd info s3://expiration/test.txt
s3://expiration/test.txt (object):
File size: 8
Last mod: Thu, 18 Jun 2020 20:59:46 GMT
MIME type: text/plain
Storage: STANDARD
MD5 sum: 8f8d58b2a4c6620601186c564bc967f2
SSE: none
Policy: none
CORS: none
ACL: mrmassis: FULL_CONTROL
x-amz-meta-s3cmd-attrs: atime:1592502058/ctime:1592502050/gid:0/gname:root/md5:8f8d58b2a4c6620601186c564bc967f2/mode:33188/mtime:1592502050/uid:0/uname:root
i cant find expiration tag expiration. where i have wrong. im used the rook-ceph master. Could anyone help me?