diff --git a/src/restore.sh b/src/restore.sh index 77f524a..be10b82 100755 --- a/src/restore.sh +++ b/src/restore.sh @@ -5,5 +5,5 @@ VOLUMES=$(find /backup -maxdepth 1 -type d -exec basename {} \; | tail -n +2) #loop volumes for VOLUME in $VOLUMES; do echo "Restoring $VOLUME" - restic --verbose restore latest --include "/backup/$VOLUME" + restic --verbose restore --target / latest --include "/backup/$VOLUME" done