---
# @var rear_config: []
# List of configuration files to create, the setting to use and the associated Cron setting
# Set the value of BACKUP_PROG_CRYPT_KEY to use for encryption in the below format.
# This key will not be part of the rescue/recovery system, so note this down somewhere safe
rear_config:
  - name: grubrescue
    settings: |
      GRUB_RESCUE=1
      GRUB_RESCUE_PASSWORD="SecuR3Pas$w0rd"
      USE_DHCLIENT=n
    cron: 30 1 * * 7
  - name: nfs
    settings: |
      OUTPUT=ISO
      BACKUP=NETFS
      # BACKUP_OPTIONS="nfsvers=3,nolock"
      BACKUP_URL=nfs://your.NFS.server.IP/path/to/your/rear/backup
      BACKUP_PROG_CRYPT_ENABLED="yes"
      { BACKUP_PROG_CRYPT_KEY='my_secret_passphrase' ; } 2>/dev/null
    cron: 30 1 * * *
