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
main.yml 2.12 KiB
Newer Older
  • Learn to ignore specific revisions
  • ---
    #-----------------------------------------------------------------------------#
    # ansible-yunohost allows to deploy Yunohost using Ansible                    #
    
    # Copyright 2021-present Lydra https://www.lydra.fr/                          #
    
    #                                                                             #
    # this program is free software: you can redistribute it and/or modify        #
    # it under the terms of the GNU General Public License as published by        #
    # the Free Software Foundation, either version 3 of the License, or           #
    # (at your option) any later version.                                         #
    #                                                                             #
    # this program is distributed in the hope that it will be useful,             #
    # but WITHOUT ANY WARRANTY; without even the implied warranty of              #
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the                #
    # GNU General Public License for more details.                                #
    #                                                                             #
    # You should have received a copy of the GNU General Public License           #
    # along with this program. If not, see <http://www.gnu.org/licenses/>.        #
    #                                                                             #
    #-----------------------------------------------------------------------------#
    
    
    # Variables for backup
    ynh_backup:
      scheduled: False
      # directory: "/data/backup"
      # scheduled_hour: 3
      # scheduled_minute: "0"
      # scheduled_weekday: "*"
      # scheduled_month: "*"
      # system: True
      # apps: True
    
    Arthur BOUDREAULT's avatar
    Arthur BOUDREAULT committed
    
    
    Arthur BOUDREAULT's avatar
    Arthur BOUDREAULT committed
    ynh_borg_backup_scheduled: False
    ynh_borg_backup_remote_repo: False
    # borg_source_directories:
    #   - "/data/yunohost/backup"
    # borg_repository: "/data/backup/live"
    # borg_init_command: "borgmatic init -c /etc/borgmatic/{{ borgmatic_config_name }} -e repokey --syslog-verbosity 1"
    # borgmatic_config_name: "borgmatic_ynh_config"
    # borg_encryption_passphrase: "PLEASECHANGEME"
    # borg_retention_policy:
    #   keep_daily: "4"
    #   keep_weekly: "0"
    #   keep_monthly: "0"
    # borgmatic_cron_name: "borgmatic_ynh_cron"