Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 872494a3 authored by Arthur BOUDREAULT's avatar Arthur BOUDREAULT
Browse files

refactor: add Christophe suggestions

parent c1f243ca
No related branches found
No related tags found
No related merge requests found
Pipeline #8021 passed with warnings
......@@ -24,7 +24,7 @@ Nous avons intégré trois systèmes de sauvegardes différents à ce rôle Yuno
```yml
ynh_backup:
scheduled: True
directory: "/data/backup"
directory: "/data/backup/local_ynh_backups"
scheduled_hour: "*"
scheduled_minute: "*/30"
scheduled_weekday: "*"
......@@ -49,7 +49,7 @@ ynh_backup:
```yml
ynh_borg_backup_scheduled: True
borg_source_directories: "{{ ynh_backup.directory }}"
borg_repository: "/data/backup/borg_repository"
borg_repository: "{{ ynh_backup.directory }}/borg_repository"
borg_encryption_passphrase: "PLEASECHANGEME"
borgmatic_config_name: "borgmatic_ynh_config"
borgmatic_cron_name: "borgmatic_ynh_cron"
......@@ -100,13 +100,13 @@ restic_repos:
restic_backups:
YunoHost_remote:
name: "remote_ynh_restic"
repo: "s3_ynh_restic_repo"
src: "{{ ynh_backup.directory }}"
name: "remote_ynh_restic"
repo: "s3_ynh_restic_repo"
src: "{{ ynh_backup.directory }}"
tags:
- yunohost
- remote
keep_within: "{{ restic_keep_time }}"
keep_within: "{{ restic_keep_time }}"
scheduled: True
schedule_hour: 1
schedule_minute: 0
......
......@@ -24,7 +24,7 @@ YunoHost provides its own native backup system. It is able to back up YunoHost c
```yml
ynh_backup:
scheduled: True
directory: "/data/backup"
directory: "/data/backup/local_ynh_backups"
scheduled_hour: "*"
scheduled_minute: "*/30"
scheduled_weekday: "*"
......@@ -49,7 +49,7 @@ ynh_backup:
```yml
ynh_borg_backup_scheduled: True
borg_source_directories: "{{ ynh_backup.directory }}"
borg_repository: "/data/backup/borg_repository"
borg_repository: "{{ ynh_backup.directory }}/borg_repository"
borg_encryption_passphrase: "PLEASECHANGEME"
borgmatic_config_name: "borgmatic_ynh_config"
borgmatic_cron_name: "borgmatic_ynh_cron"
......@@ -100,13 +100,13 @@ restic_repos:
restic_backups:
YunoHost_remote:
name: "remote_ynh_restic"
repo: "s3_ynh_restic_repo"
src: "{{ ynh_backup.directory }}"
name: "remote_ynh_restic"
repo: "s3_ynh_restic_repo"
src: "{{ ynh_backup.directory }}"
tags:
- yunohost
- remote
keep_within: "{{ restic_keep_time }}"
keep_within: "{{ restic_keep_time }}"
scheduled: True
schedule_hour: 1
schedule_minute: 0
......
......@@ -34,8 +34,7 @@ ynh_borg_backup_remote_repo: False
# Variables for YunoHost Restic
# https://github.com/roles-ansible/ansible_role_restic
ynh_restic_backup_scheduled: False
do1jlr_restic_version: "v0.7.1"
restic_version: "0.12.1"
restic_schedule_type: "cronjob"
do1jlr_restic_version: "v0.7.1"
restic_keep_time: "0y1m0d0h"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment