From eef44aab43cda391f6d882516b19a0b1192797f5 Mon Sep 17 00:00:00 2001 From: Salt Date: Thu, 25 Jun 2020 08:54:47 -0500 Subject: [PATCH] Look in ./var for backup --- roles/minecraft/templates/recover.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/minecraft/templates/recover.sh b/roles/minecraft/templates/recover.sh index f35e0b0..654850a 100644 --- a/roles/minecraft/templates/recover.sh +++ b/roles/minecraft/templates/recover.sh @@ -31,7 +31,7 @@ aws s3 cp "s3://{{ aws_backup_bucket }}/{{ mcname }}/$backup" world.tgz # Decompress it tar xzf world.tgz # Find the world -worlddir="$(find . -type d -name "world" | head -n 1)" +worlddir="$(find ./var -type d -name "world" | head -n 1)" # Move it in place mv "$worlddir" . # Verify our work