{% for envvar in restic_env_vars | dict2items -%} $Env:{{ envvar.key }} = "{{ envvar.value }}" {% endfor %} & "{{ restic_dir.windows_psh }}\restic.exe" backup {{ restic_args }} {{ restic_item_list }}