added target to restore
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
84d8406f6e
commit
2544d85dca
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user