mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-26 08:37:21 +00:00
45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
# yaml-language-server: $schema=https://creativeprojects.github.io/resticprofile/jsonschema/config-2.json
|
|
|
|
version: "2"
|
|
|
|
global:
|
|
default-command: snapshots
|
|
restic-binary: C:\Users\Administrator.{{ win_project }}\scoop\shims\restic.exe
|
|
|
|
profiles:
|
|
default:
|
|
repository: local:C:\eidf\restic-repo
|
|
password-file: C:\resticprofile\restic.key
|
|
insecure-tls: true
|
|
|
|
env:
|
|
RESTIC_PATH:
|
|
|
|
study_data:
|
|
inherit: default
|
|
repository: rest:https://{{ restic_user }}:{{ restic_rest_password }}@{{ backup_server_ip }}:8000
|
|
initialize: true
|
|
|
|
backup:
|
|
source: S:\
|
|
compression: max
|
|
schedule: "*-*-* 00:00:00"
|
|
schedule-permission: system
|
|
schedule-lock-wait: 30m
|
|
schedule-log: C:\resticprofile\schedule.log
|
|
exclude:
|
|
- S:\$$RECYCLE.BIN
|
|
- S:\System Volume Information
|
|
- S:\DfsrPrivate
|
|
tag:
|
|
- "{{ os_project }}-{{ win_project }}"
|
|
|
|
retention:
|
|
group-by: path
|
|
after-backup: true
|
|
keep-daily: 14
|
|
keep-weekly: 8
|
|
tag:
|
|
- "{{ os_project }}-{{ win_project }}"
|
|
prune: true
|