requirements.yml,SETUP.md - prerequisites
This commit is contained in:
14
templates/bin/backup
Executable file
14
templates/bin/backup
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Borg Backup runner
|
||||
|
||||
set -o pipefail
|
||||
set -o errexit
|
||||
|
||||
DC_DIR=/opt/docker-compose/
|
||||
|
||||
cd $DC_DIR
|
||||
docker-compose down
|
||||
docker run --name borgmatic -T --rm borgmatic /backup.sh
|
||||
docker-compose up -d main-services
|
||||
|
||||
Reference in New Issue
Block a user