From 1ee378ccb4aa49dbb83b5ec280efc7e2bf3d91fc Mon Sep 17 00:00:00 2001 From: Sergey Nikolaev Date: Fri, 16 Feb 2024 13:04:27 +0700 Subject: [PATCH] Apply suggestions from code review --- README.md | 2 +- docker-entrypoint.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6b7dfea..84bc210 100644 --- a/README.md +++ b/README.md @@ -340,7 +340,7 @@ To restore your full backup on startup, you need to mount your backup to the `/d Please note that you should mount the content of your backup, not the backup folder itself (e.g., `backup-202307..`). -The backup will be restored if the daemon wasn't initialized before (first start). Otherwise, it will be skipped, even if it's mounted on the second launch or any other time. Once the backup is restored, the daemon will start. +The backup will be restored if the data directory is empty. Otherwise, it will be skipped, even if it's mounted on the second launch or any other time. Once the backup is restored, the daemon will start. ### Creating SQL dumps diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 2b96db7..66d9598 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -258,7 +258,7 @@ _main() { # Check if manticore-backup is installed if ! command -v manticore-backup > /dev/null; then - echo -e "${RED}Manticore backup isn't installed${NC}" + echo -e "${RED}manticore-backup isn't installed${NC}" exit 1 fi