1
0
Fork 0

build: update restic to 0.14

This commit is contained in:
Arthur BOUDREAULT 2022-12-07 11:23:40 +01:00
parent f4cf0b73e9
commit c97dd05564
3 changed files with 6 additions and 2 deletions

View file

@ -90,6 +90,7 @@ N'hésitez pas à regarder les variables disponibles dans le [rôle](https://git
ynh_restic_backup_scheduled: True ynh_restic_backup_scheduled: True
restic_create_schedule: True restic_create_schedule: True
restic_keep_time: "0y2m0d0h" restic_keep_time: "0y2m0d0h"
restic_version: "0.14.0"
restic_repos: restic_repos:
s3_ynh_restic_repo: s3_ynh_restic_repo:
@ -116,6 +117,7 @@ restic_backups:
- `ynh_restic_backup_scheduled` : Active / désactive la fonctionnalité de sauvegarde avec Restic. - `ynh_restic_backup_scheduled` : Active / désactive la fonctionnalité de sauvegarde avec Restic.
- `restic_keep_time` : Permet de régler finement la période de temps durant laquelle les snapshots doivent être conservés. la valeur par défaut est de 1 mois `0y1m0d0h`. - `restic_keep_time` : Permet de régler finement la période de temps durant laquelle les snapshots doivent être conservés. la valeur par défaut est de 1 mois `0y1m0d0h`.
- `restic_version` : Vous permet de spécifier la version de Restic que vous souhaitez utiliser. La version par défaut du rôle est la 0.14.0. Vous pouvez vérifier les versions de Restic [ici](https://github.com/restic/restic/releases).
- `restic_repos`: Restic conserve les données dans des dépôts. Vous devez spécifier au moins un dépôt pour utiliser ce rôle. Un dépôt doit comporter les variables suivantes : - `restic_repos`: Restic conserve les données dans des dépôts. Vous devez spécifier au moins un dépôt pour utiliser ce rôle. Un dépôt doit comporter les variables suivantes :
- `location` : **Obligatoire**, le chemin vers le dépôt. Ça peut être un chemin local (par exemple `/data/backup`) ou un chemin vers un bucket S3 (voir l'exemple ci-dessus). - `location` : **Obligatoire**, le chemin vers le dépôt. Ça peut être un chemin local (par exemple `/data/backup`) ou un chemin vers un bucket S3 (voir l'exemple ci-dessus).
- `password`: **Obligatoire**, mot de passe à utiliser pour le dépôt Restic. - `password`: **Obligatoire**, mot de passe à utiliser pour le dépôt Restic.

View file

@ -64,7 +64,7 @@ ynh_ssh_borg_command: "ssh_command: ssh -p 7410 -o StrictHostKey
- `ynh_borg_backup_scheduled`: Enable / disable the backup feature with BorgBackup. - `ynh_borg_backup_scheduled`: Enable / disable the backup feature with BorgBackup.
- `m3nu_ansible_role_borgbackup_version`: Allows you to specify which version of the Borg Backup Ansible role you want to use. The default version of the role is v0.9.3 but you can check the releases of the role [here](https://github.com/borgbase/ansible-role-borgbackup). - `m3nu_ansible_role_borgbackup_version`: Allows you to specify which version of the Borg Backup Ansible role you want to use. The default version of the role is v0.9.3 but you can check the releases of the role [here](https://github.com/borgbase/ansible-role-borgbackup).
- `ynh_borg_backup_remote_repo`: Enable / disable the backup functionality on a BorgBackup remote repository (tasks related to SSH keys setup). If you enable this feature, then you will need to use `borg_ssh_keys_src` and `borg_ssh_keys_dest` variables. - `ynh_borg_backup_remote_repo`: Enable / disable the backup functionality on a BorgBackup remote repository (tasks related to SSH keys setup). If you enable this feature, then you will need to use `borg_ssh_keys_src` and `borg_ssh_keys_dest` variables.
- `borg_source_directories`: List of source folders to back up. By default, this is the folder in which YunoHost local backups are located. - `borg_source_directories`: List of source folders to back up. By default, this is the folder in which YunoHost local backups are located.
- `borg_repository`: Full path to the Borg repository. Possibility to give a list of repositories to save data in several places. - `borg_repository`: Full path to the Borg repository. Possibility to give a list of repositories to save data in several places.
- `borg_encryption_passphrase` : **Mandatory**, password to use for the Borg repository encryption key. - `borg_encryption_passphrase` : **Mandatory**, password to use for the Borg repository encryption key.
@ -90,6 +90,7 @@ Feel free to look at the variables available in the [role](https://github.com/bo
ynh_restic_backup_scheduled: True ynh_restic_backup_scheduled: True
restic_create_schedule: True restic_create_schedule: True
restic_keep_time: "0y2m0d0h" restic_keep_time: "0y2m0d0h"
restic_version: "0.14.0"
restic_repos: restic_repos:
s3_ynh_restic_repo: s3_ynh_restic_repo:
@ -116,6 +117,7 @@ restic_backups:
- `ynh_restic_backup_scheduled`: Enable / disable the backup feature with Restic. - `ynh_restic_backup_scheduled`: Enable / disable the backup feature with Restic.
- `restic_keep_time`: Allows to fine tune the time period during which snapshots should be kept. The default value is 1 month `0y1m0d0h`. - `restic_keep_time`: Allows to fine tune the time period during which snapshots should be kept. The default value is 1 month `0y1m0d0h`.
- `restic_version`: Allows you to specify the version of Restic you want to use. The default version of the role is 0.14.0. You can check Restic versions [here](https://github.com/restic/restic/releases).
- `restic_repos`: Restic keeps data in repositories. You must specify at least one repository to use this role. A repository must have the following variables: - `restic_repos`: Restic keeps data in repositories. You must specify at least one repository to use this role. A repository must have the following variables:
- `location`: **Mandatory**, the path to the repository. This can be a local path (e.g. `/data/backup`) or a path to an S3 bucket (see example above). - `location`: **Mandatory**, the path to the repository. This can be a local path (e.g. `/data/backup`) or a path to an S3 bucket (see example above).
- `password`: **Mandatory**, password to use for the Restic repository. - `password`: **Mandatory**, password to use for the Restic repository.

View file

@ -36,6 +36,6 @@ ynh_borg_backup_remote_repo: False
# https://github.com/roles-ansible/ansible_role_restic # https://github.com/roles-ansible/ansible_role_restic
ynh_restic_backup_scheduled: False ynh_restic_backup_scheduled: False
do1jlr_restic_version: "v0.7.1" do1jlr_restic_version: "v0.7.1"
restic_version: "0.12.1" restic_version: "0.14.0"
restic_schedule_type: "cronjob" restic_schedule_type: "cronjob"
restic_keep_time: "0y1m0d0h" restic_keep_time: "0y1m0d0h"