From 45b0268f1af4ee86e3cbf6d057eaad080145a458 Mon Sep 17 00:00:00 2001 From: jerger Date: Fri, 7 Oct 2022 11:37:31 +0200 Subject: [PATCH] fix restore --- infrastructure/docker-backup/image/resources/restore.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infrastructure/docker-backup/image/resources/restore.sh b/infrastructure/docker-backup/image/resources/restore.sh index 2289ab2..6ed2fc0 100755 --- a/infrastructure/docker-backup/image/resources/restore.sh +++ b/infrastructure/docker-backup/image/resources/restore.sh @@ -17,8 +17,8 @@ function main() { rm -rf /var/backups/gitea/* rm -rf /var/backups/git/repositories/* - cp -r /var/backups/restore/gitea/* /var/backups/gitea/ - cp -r /var/backups/restore/git/repositories/* /var/backups/git/repositories/ + cp -r /var/backups/restore/gitea /var/backups/ + cp -r /var/backups/restore/git/repositories /var/backups/git/ # adjust file permissions for the git user chown -R 1000:1000 /var/backups