Fixed restic initialization upon installation
parent
da6f8574ed
commit
dfb4bf0349
|
@ -325,6 +325,9 @@ actions:
|
||||||
- chmod -R 755 /home/jelastic/mb-backups/logs
|
- chmod -R 755 /home/jelastic/mb-backups/logs
|
||||||
- chmod 755 /mnt/backups
|
- chmod 755 /mnt/backups
|
||||||
|
|
||||||
|
# Initialize the Restic repository
|
||||||
|
- export RESTIC_PASSWORD=$(cat /etc/restic-password) && export RESTIC_REPOSITORY=/mnt/backups && restic init
|
||||||
|
|
||||||
importScripts:
|
importScripts:
|
||||||
- cmd[cp]:
|
- cmd[cp]:
|
||||||
user: root
|
user: root
|
||||||
|
|
Loading…
Reference in New Issue