Skip to content
Snippets Groups Projects

Ajout de backup.sh

Merged Elian Loraux requested to merge services-desk-183-backup into main
1 file
+ 5
0
Compare changes
  • Side-by-side
  • Inline
+ 5
0
@@ -2,6 +2,11 @@
echo "Backing up Keycloak DB and config"
if [ -z "$MARIADB_PASS" ]; then
echo "Error: the MARIADB_PASS variable is not set or is empty."
exit 1
fi
if [ ! -d "backups" ]; then
mkdir "backups"
fi
Loading