Look in ./var for backup
This commit is contained in:
parent
ccdcfffcaa
commit
eef44aab43
@ -31,7 +31,7 @@ aws s3 cp "s3://{{ aws_backup_bucket }}/{{ mcname }}/$backup" world.tgz
|
|||||||
# Decompress it
|
# Decompress it
|
||||||
tar xzf world.tgz
|
tar xzf world.tgz
|
||||||
# Find the world
|
# 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
|
# Move it in place
|
||||||
mv "$worlddir" .
|
mv "$worlddir" .
|
||||||
# Verify our work
|
# Verify our work
|
||||||
|
Loading…
Reference in New Issue
Block a user