I have several buckets in Google Cloud Storage, and I assume that my lifecycle file was not configured correctly, because all my buckets are now empty.
{
"lifecycle": {
"rule": [
{
"action": {"type": "Delete"},
"condition": {
"age": 60,
"isLive": false
}
},
{
"action": {"type": "Delete"},
"condition": {
"numNewerVersions": 3
}
}
]
}
}
Since I have version control turned on and I see the files using ls -lain the bucket, is there a way to recover ALL files and how can I delete them again?
Ian h source
share