container-server/setup/backup/prepare-backup.sh

9 lines
159 B
Bash
Executable file

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