Skip to content

Instantly share code, notes, and snippets.

@AmesianX
AmesianX / confluence-h2-restore.sh
Created June 11, 2019 07:58 — forked from AlmostGosu/confluence-h2-restore.sh
Shell script to recover corrupted Confluence h2 database
#!/bin/bash
# This script has to be run as your confluence user or root
# Create a backup of, and attempt to restore a confluence h2 internal database
# Go home.
cd ~
# Stop confluence
/opt/atlassian/confluence/bin/stop-confluence.sh
# Really though...