Server scripts
Praise comes with a few bash scripts to simplify the management of a Praise installation.
Run scripts using bash [scriptname]
.
setup.sh
β
Builds and runs the Praise setup script. Run this script before starting Praise the first time.
start.sh
β
Starts all Praise services.
restart.sh
β
Restarts all Praise services. Run this command after changing the server settings.
upgrade.sh
β
Downloads new server images and restarts Praise to perform the upgrade.
database-backup.sh
β
Makes a full backup of the database. Backup is saved as a file in the current folder. Script uses login information in .env
.
database-restore.sh
β
Usage: database-restore.sh [filename]
Deletes the currently active database and replaces it with data from the backup.
reset.sh
β
Shuts down all running Praise services, deletes all containers and images. Use with caution. N.b. The server setting are not reset, all database passwords etc are left untouched.