README.prerequisites: some minor changes..

This commit is contained in:
Christoph 2024-07-02 23:04:19 +02:00
parent 4aec86ab41
commit 9553c95ce9

View File

@ -10,6 +10,10 @@ BORG_HOST="o26.oopen.de"
BORG_REPO="/backup/mail-fm"
BORG_PASSPHRASE='joG.Ir2x--VsX6/mxb.kEcmq'
BORG_HOST="o26.oopen.de"
BORG_REPO="/backup/web-05"
BORG_PASSPHRASE='FZyFW-bxXV-rHiQ7n/dAxI.L'
SSH_USER="borg"
SSH_PORT=22
@ -55,6 +59,7 @@ export BORG_PASSPHRASE
#
# chattr +i /data/backup/<client-identifier>
#
chattr +i "$(dirname "${BORG_REPO}")"
mkdir -p "${BORG_REPO}"
chown ${SSH_USER}:${SSH_USER} "${BORG_REPO}"
chattr +i "$(dirname "${BORG_REPO}")"