mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-07 17:16:55 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
6
roles/navidrome/templates/pre-backup.j2
Normal file
6
roles/navidrome/templates/pre-backup.j2
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -eo pipefail
|
||||
|
||||
sqlite3 {{ nd_root_dir }}/data/navidrome.db .dump | zstd -c > {{ nd_root_dir }}/backup/navidrome.sql.zst
|
||||
cp {{ nd_root_dir }}/etc/navidrome.toml {{ nd_root_dir }}/backup/
|
Reference in New Issue
Block a user