mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-26 23:23:22 +02:00
8 lines
191 B
Django/Jinja
8 lines
191 B
Django/Jinja
#!/bin/sh
|
|
|
|
set -eo pipefail
|
|
|
|
mkdir -p /home/lbkp/es
|
|
mount -o bind,ro {{ es_backup_dir }} /home/lbkp/es
|
|
curl -X PUT http://localhost:{{ es_port }}/_snapshot/lbkp/lbkp?wait_for_completion=true
|