Fixed restic initialization upon installation
parent
da6f8574ed
commit
dfb4bf0349
|
@ -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]:
|
||||
|
|
Loading…
Reference in New Issue