From dfb4bf0349414733af2f03c2c5d9386d36523e7f Mon Sep 17 00:00:00 2001 From: Anthony Date: Tue, 3 Jun 2025 01:54:07 +0800 Subject: [PATCH] Fixed restic initialization upon installation --- manifest.jps | 3 +++ 1 file changed, 3 insertions(+) diff --git a/manifest.jps b/manifest.jps index 48bcc53..567f0f3 100644 --- a/manifest.jps +++ b/manifest.jps @@ -324,6 +324,9 @@ actions: - mkdir -p /home/jelastic/mb-backups/logs - chmod -R 755 /home/jelastic/mb-backups/logs - chmod 755 /mnt/backups + + # Initialize the Restic repository + - export RESTIC_PASSWORD=$(cat /etc/restic-password) && export RESTIC_REPOSITORY=/mnt/backups && restic init importScripts: - cmd[cp]: