From 581aadb8ae08bd8f08bc6926377db5fdb257de88 Mon Sep 17 00:00:00 2001 From: erik Date: Tue, 24 Oct 2023 14:40:34 +0200 Subject: [PATCH] [Skip-CI] Move instead of copy --- infrastructure/backup/image/resources/restore.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure/backup/image/resources/restore.sh b/infrastructure/backup/image/resources/restore.sh index 83b3a77..cfc3bd2 100755 --- a/infrastructure/backup/image/resources/restore.sh +++ b/infrastructure/backup/image/resources/restore.sh @@ -14,7 +14,7 @@ function main() { # Restore latest snapshot into /var/backups/restore restore-directory '/var/backups/restore' - cp -r /var/backups/restore/* /media + mv /var/backups/restore/* /media # adjust file permissions for the taiga user chown -R 999:999 /media