From e6a4a10521a8e98442fa2aedeef074094f92d21f Mon Sep 17 00:00:00 2001 From: David Newswanger Date: Thu, 26 May 2022 09:30:28 -0400 Subject: [PATCH] Update comments --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2b4a9ab315..4d5271aa1b 100644 --- a/Makefile +++ b/Makefile @@ -132,14 +132,14 @@ docker/resetdb: ## Cleans database .PHONY: docker/db_snapshot NAME ?= galaxy -docker/db_snapshot: ## Snapshot database. Example: make docker/db_snapshot NAME=my_special_backup +docker/db_snapshot: ## Snapshot database with optional NAME param. Example: make docker/db_snapshot NAME=my_special_backup docker exec galaxy_ng_postgres_1 pg_dump -U galaxy_ng -F c -b -f "/galaxy.backup" galaxy_ng mkdir -p db_snapshots/ docker cp galaxy_ng_postgres_1:/galaxy.backup db_snapshots/$(NAME).backup .PHONY: docker/db_restore NAME ?= galaxy -docker/db_restore: ## Restore database from a snapshot. Example: make docker/db_restore NAME=my_special_backup +docker/db_restore: ## Restore database from a snapshot with optional NAME param. Example: make docker/db_restore NAME=my_special_backup docker cp db_snapshots/$(NAME).backup galaxy_ng_postgres_1:/galaxy.backup docker exec galaxy_ng_postgres_1 pg_restore --clean -U galaxy_ng -d galaxy_ng "/galaxy.backup"