Backup and Restore (Docker)

Backup and restore functionality in Docker makes use of SupportPal CLI commands, but also handles additional Docker related services data.

Contents

Backup

Output Directory

All backups are generated in a backup directory where the backup script was run.

Usage

Monolithic Deployments

Browse to the SupportPal installation directory (where docker-compose.yml lives) and then run:

bash <(curl -fLsS https://raw.githubusercontent.com/supportpal/helpdesk-install/5.x/templates/docker-monolithic/backup.sh)

Restore

Usage

The restore script searches for the most recently modified file in the backup output directory (specified above). This is determined using ls -1t app-*.tar.gz. You can force a file to be the most recently modified using the touch command, for example: touch app-2022-10-31-17-40-58.tar.gz.

Monolithic Deployments

Browse to the SupportPal installation directory (where docker-compose.yml lives) and then run:

bash <(curl -fLsS https://raw.githubusercontent.com/supportpal/helpdesk-install/5.x/templates/docker-monolithic/restore.sh)