Improved Plan B scripts.
This commit is contained in:
parent
5f2c611f85
commit
e63c41b866
|
@ -25,6 +25,7 @@ else
|
||||||
|
|
||||||
echo "== Create the mirroring directories."
|
echo "== Create the mirroring directories."
|
||||||
mkdir -p /var/backups/borg/mirrors/${COMPUTER}/{mirror,cache}
|
mkdir -p /var/backups/borg/mirrors/${COMPUTER}/{mirror,cache}
|
||||||
|
chown borg.borg /var/backups/borg/mirrors/
|
||||||
chown -R borg.borg /var/backups/borg/mirrors/${COMPUTER}
|
chown -R borg.borg /var/backups/borg/mirrors/${COMPUTER}
|
||||||
|
|
||||||
echo "== Create the borgmatic configuration file."
|
echo "== Create the borgmatic configuration file."
|
||||||
|
|
Loading…
Reference in New Issue