# If you're using sftp with a special key, it's recommended to set an # alias for the specific host and use it in the repository name # # ~/.ssh/config # Host restic-mybackup # HostName 192.168.1.2 # Port 22 # User backup # IdentityFile ~/.ssh/backup RESTIC_CACHE_DIR="..." RESTIC_PASSWORD="..." #RESTIC_REPOSITORY="sftp://restic-mybackup//my/remote/path" RESTIC_REPOSITORY="..." RESTIC_KEEP="--keep-daily 7 --keep-weekly 4 --keep-monthly 3" # advanced parameters RESTIC_ADDITIONAL_CREATE_PARAMS="--one-file-system" #RESTIC_REPORT_MAIL=monitoring@mydomain.tld