Update to 2021-03-29 13:00

master
Daniel Berteaud 4 years ago
parent 4b9469ef10
commit ca91b09a79
  1. 15
      roles/bitwarden_rs/tasks/archive_pre.yml

@ -21,3 +21,18 @@
- etc - etc
- web-vault - web-vault
tags: bitwarden tags: bitwarden
- name: Dump the database
mysql_db:
state: dump
name: "{{ bitwarden_db_name }}"
target: "{{ bitwarden_root_dir }}/archives/{{ bitwarden_current_version }}+{{ bitwarden_web_current_version }}/{{ bitwarden_db_name }}.sql.xz"
login_host: "{{ bitwarden_db_server }}"
login_user: "{{ bitwarden_db_user }}"
login_password: "{{ bitwarden_db_pass }}"
quick: True
single_transaction: True
environment:
XZ_OPT: -T0
when: bitwarden_db_engine == 'mysql'
tags: bitwarden

Loading…
Cancel
Save