我已经注册了这样的快照存储库:
PUT /_snapshot/es152_prod_backup
{
"type": "fs",
"settings": {
"location": "/var/es/backup",
"compress": true
}
}
现在我想将它重命名为更通用的东西,如:
myapp_prod_backup
我该怎么办?
谢谢,
CHANDAN
答案 0 :(得分:2)
添加新存储库:
PUT /_snapshot/myapp_prod_backup
{
"type": "fs",
"settings": {
"location": "/var/es/backup",
"compress": true
}
}
并删除旧的
DELETE /_snapshot/myapp_prod_backup