server/minecraft: Enabled auto backup

dehydrated
Felix Stupp 5 years ago
parent 6dd5c75e67
commit a150266548
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -7,3 +7,11 @@ dependencies:
- role: misc/system_user
# system_user
# user_directory
- role: misc/backup_files
# domain
backup_directory: "{{ data_directory }}"
before_backup_command: |
{{ remote_control_script | quote }} "save-off";
{{ remote_control_script | quote }} "save-all";
after_backup_command: |
{{ remote_control_script | quote }} "save-on";

Loading…
Cancel
Save