mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Finished backup update
This commit is contained in:
@@ -5,7 +5,7 @@ docker:
|
||||
image: "mariadb"
|
||||
name: "mariadb"
|
||||
backup:
|
||||
datase_routine: true
|
||||
database_routine: true
|
||||
network: "mariadb"
|
||||
volumes:
|
||||
data: "mariadb_data"
|
@@ -4,4 +4,4 @@ docker:
|
||||
image: memcached
|
||||
version: latest
|
||||
backup:
|
||||
enabled: false
|
||||
disabled: true
|
@@ -8,7 +8,7 @@ docker:
|
||||
# Rolling release isn't recommended
|
||||
version: "latest"
|
||||
backup:
|
||||
datase_routine: true
|
||||
database_routine: true
|
||||
volumes:
|
||||
data: "postgres_data"
|
||||
network: "postgres"
|
@@ -4,4 +4,4 @@ docker:
|
||||
image: redis
|
||||
version: alpine
|
||||
backup:
|
||||
enabled: false
|
||||
disabled: true
|
2
roles/sys-bkp-docker-2-loc/Todo.md
Normal file
2
roles/sys-bkp-docker-2-loc/Todo.md
Normal file
@@ -0,0 +1,2 @@
|
||||
# Todos
|
||||
- Add to all of the applications the correct backup procedures.
|
@@ -20,17 +20,17 @@ bkp_docker_to_local_disabled: >-
|
||||
# CLI argument strings (only set if list not empty)
|
||||
bkp_docker_to_local_database_routine_cli: >-
|
||||
{% if bkp_docker_to_local_database_routine | length > 0 -%}
|
||||
--database-containers="{{ bkp_docker_to_local_database_routine | join(' ') }}"
|
||||
--database-containers {{ bkp_docker_to_local_database_routine | join(' ') }}
|
||||
{%- endif %}
|
||||
|
||||
bkp_docker_to_local_no_stop_required_cli: >-
|
||||
{% if bkp_docker_to_local_no_stop_required | length > 0 -%}
|
||||
--images-no-stop-required="{{ bkp_docker_to_local_no_stop_required | join(' ') }}"
|
||||
--images-no-stop-required {{ bkp_docker_to_local_no_stop_required | join(' ') }}
|
||||
{%- endif %}
|
||||
|
||||
bkp_docker_to_local_disabled_cli: >-
|
||||
{% if bkp_docker_to_local_disabled | length > 0 -%}
|
||||
--images-no-backup-required="{{ bkp_docker_to_local_disabled | join(' ') }}"
|
||||
--images-no-backup-required {{ bkp_docker_to_local_disabled | join(' ') }}
|
||||
{%- endif %}
|
||||
|
||||
# List of CLI args for convenience (e.g. for looping or joining)
|
||||
@@ -42,5 +42,4 @@ bkp_docker_to_local_cli_args_list:
|
||||
bkp_docker_to_local_exec: >-
|
||||
/usr/bin/python {{ backup_docker_to_local_folder }}backup-docker-to-local.py
|
||||
--compose-dir {{ path_docker_compose_instances }}
|
||||
{{ bkp_docker_to_local_cli_args_list | select('string') | join(' ') }}
|
||||
| trim
|
||||
{{ bkp_docker_to_local_cli_args_list | select('string') | join(' ') }}
|
@@ -19,15 +19,17 @@ docker:
|
||||
database:
|
||||
enabled: true
|
||||
nextcloud:
|
||||
name: "nextcloud"
|
||||
image: "nextcloud"
|
||||
version: "latest-fpm-alpine"
|
||||
name: "nextcloud"
|
||||
image: "nextcloud"
|
||||
version: "latest-fpm-alpine"
|
||||
backup:
|
||||
no_stop_required: true
|
||||
proxy:
|
||||
name: "nextcloud-proxy"
|
||||
image: "nginx"
|
||||
version: "alpine"
|
||||
backup:
|
||||
no_stop_required: true
|
||||
cron:
|
||||
name: "nextcloud-cron"
|
||||
talk:
|
||||
|
Reference in New Issue
Block a user