sauvegardes/Plan Borg/bin/dumps

14 lines
174 B
Bash
Executable File

#!/bin/bash
BINDIR=$(dirname "$0")
cd "$BINDIR"
DUMP_DIR="/var/backups/dumps/"
if [ ! -d $DUMP_DIR ]; then
mkdir -p $DUMP_DIR
fi
./dump-psql
./dump-msql
./dump-influx