Look in ./var for backup

This commit is contained in:
Salt 2020-06-25 08:54:47 -05:00
parent ccdcfffcaa
commit eef44aab43

View File

@ -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