container-server/backup/prepare-backup.sh

9 lines
158 B
Bash
Executable file

#!/bin/sh
rm -r /tmp/container-server
mkdir -p /tmp/container-server
cd /opt/container-server
task srv:psql-dump-all
cp .env /tmp/container-server/env.bak