Fix restic-restore command

This commit is contained in:
SebastianStork 2025-06-10 12:55:38 +02:00
parent 76914154c6
commit 2b48a2d10b

View file

@ -47,7 +47,7 @@ in
${lib.optionalString hasDependentService "sudo systemctl stop ${dependentService}"}
sudo --user=${value.user} bash -c "
${value.restoreCommand.preRestore}
restic-nextcloud restore latest --target /
restic-${name} restore latest --target /
${value.restoreCommand.postRestore}
"
${lib.optionalString hasDependentService "sudo systemctl start ${dependentService}"}