DBAtlas · Database operations atlas

Register a snapshot repository

ElasticsearchSnapshot

Command

PUT /_snapshot/backup_repo
{
  "type": "fs",
  "settings": {
    "location": "/mnt/es_backups"
  }
}

What it does

Registers a repository where snapshots will be stored.

When to use it

When setting up the backup infrastructure for the first time.

Caution

For an fs repository, the path must be defined in path.repo and accessible on all master and data nodes.

Open in DBAtlas →

Related