I’m trying to use restic via the following bash script
#!/bin/bash # Repo and PW export RESTIC_REPOSITORY=/media/thomas/USB-Backup1/backup export RESTIC_PASSWORD=password_here #What to backup backup_path=~/Documents ~/Desktop ~/Calibre-Library #Start Restic restic -r $RESTIC_REPOSITORY backup $backup_path restic -r $RESTIC_REPOSITORY forget --keep-last 1 --prune
but get a Fatal: wrong number of parameters for the PATH.
Using the path to more than one dir in the shell works though. Anything i’m missing?