2023-03-20 23:43:59 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
BINDIR=$(dirname "$0")
|
|
|
|
cd "$BINDIR"
|
|
|
|
|
|
|
|
DUMP_DIR="/var/backups/dumps/"
|
2023-03-21 00:00:55 +01:00
|
|
|
if [ ! -d $DUMP_DIR ]; then
|
|
|
|
mkdir -p $DUMP_DIR
|
|
|
|
fi
|
2023-03-20 23:43:59 +01:00
|
|
|
|
2023-08-30 03:47:35 +02:00
|
|
|
./dump-psql
|
|
|
|
./dump-msql
|
|
|
|
./dump-influx
|