Vultr: Store Vanilla Minecraft Worlds on Decentralized Storage
Learn how to store vanilla Minecraft worlds on decentralized storage.
Last updated
Learn how to store vanilla Minecraft worlds on decentralized storage.
Last updated
Minecraft is an online sandbox virtual world video game. Users can host and maintain their own personal instances, or servers, of the virtual world and allow other players to join from around the world. Vanilla Minecraft refers to the base version of the game that does not include any modifications or custom packages.
Vultr is a cloud infrastructure deployment service that simplifies deploying cloud compute servers. Vultr offers a variety of pre-configured operating systems and software images for easy deployment. Vultr offers four Minecraft images, including Vanilla Minecraft.
Read below to learn how to store vanilla Minecraft worlds on decentralized storage.
To do this, navigate to console.filebase.com. If you don’t have an account already, sign up, then log in.
Select ‘Create Bucket’ in the top right corner to create a new bucket.
Bucket names must be unique across all Filebase users, be between 3 and 63 characters long, and can contain only lowercase characters, numbers, and dashes.
When making this decision, consider the number of players you intend to have on your server and the size of the world they will create.
This server image is built using an Ubuntu 20.04 operating system.
When making this decision, again consider the player base size and world size. Typically, Minecraft servers use a large amount of RAM memory, so keep that in mind when estimating size.
This backup feature backs up the image to Vultr, and costs an additional hosting fee. We’ll configure automatic backups to Filebase, which offer increased reliability and geo-redundancy while being a fraction of the cost.
Take note of the server’s username and password.
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
./aws/install
To configure, use the following command:
aws configure
When prompted with your Access Key ID and Secret Key, input your Filebase Access and Secret Keys.
This tutorial uses a working directory of /home/
:
wget https://github.com/nicolaschan/minecraft-backup/releases/latest/download/backup.sh
chmod +x backup.sh
mkdir /home/backups
minecraft_backup_job.sh
. Input the following content:Replace filebase-ipfs
with the name of your Filebase IPFS bucket.
Open your crontab with the following command:
crontab -e
minecraft_backup_job.sh
script:0 8 * * * /home/minecraft_backup_job.sh
Replace the file path with the correct path for your configuration.
This cronjob is scheduled to run every day at 8:00AM on your server. Configure the cronjob values to reflect your desired configuration.
You’ve now secured your Minecraft server with routine, daily backups to decentralized storage!