暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

main.yml 642B

123456789101112131415161718192021222324
  1. backup_vpn_net: "10.8.0.0/24"
  2. backup_vpn_bridge: "10.8.0.2"
  3. backup_host: "192.168.0.10"
  4. backup_share: "/mnt/data/backups"
  5. backup_borg_passphrase: "{{ lookup('password', secret + '/' + 'backup_borg_passphrase length=20') }}"
  6. backup_daily: "7"
  7. backup_weekly: "4"
  8. backup_monthly: "6"
  9. backup_source: "/"
  10. backup_repo_dir: "/mnt/nas_backups"
  11. backup_repo_name: "borg-linux-{{ server_name }}"
  12. backup_destination: "{{ backup_repo_dir }}/{{ backup_repo_name }}"
  13. backup_excludes:
  14. - "/home/*/.cache/*"
  15. - "/var/cache/*"
  16. - "/var/tmp/*"
  17. - "/media/*"
  18. - "/mnt/*"
  19. - "/dev/*"
  20. - "/proc/*"
  21. - "/sys/*"
  22. - "/tmp/*"
  23. - "/run/*"
  24. - "/lost+found/*"