The remote-backup add-on uses the following parameters to manage backups to remote servers via SSH, rsync, or Rclone. Note that some options are only required if the corresponding protocol is enabled.
# Connection Settings
debug: false # Enable/disable debug mode
remote_host: "example.com" # Hostname/IP for SSH/rsync or Rclone remote name (e.g., backblaze)
remote_port: 22 # Port for SFTP (SSH) and rsync
remote_user: "username" # Authentication username
remote_password: "password" # Optional authentication password
remote_key: "id_rsa" # Optional SSH key filename (must be in /addon_configs/3490a758_remote_backup)
remote_host_key_algorithms: "" # Optional: enable legacy algorithms
# Backup Customization
backup_friendly_name: "My Backup" # Rename snapshot on destination to match HA UI
backup_custom_prefix: "Automated backup" # Prefix for the snapshot date
backup_exclude_folders: ["media", "share"] # Folders to exclude (valid: addons/local, homeassistant, media, share, ssl, all_addon_configs)
backup_exclude_addons: ["core_mariadb"] # Add-ons to exclude by slug (hostname with - replaced by _)
backup_keep_local: "all" # 'all' to keep all, null to remove after transfer, or a number to preserve specific amount
backup_password: "secret" # Optional: encrypts the backup
# Protocol Specifics
ssh_enabled: true
ssh_remote_directory: "/backups/ha" # Required if ssh_enabled is true
rsync_enabled: true
rsync_rootfolder: "/home/user/backups" # Required if rsync_enabled is true
rsync_exclude: "file1,folder2" # Comma separated list of exclusions