20% OFF

Your first invoice with coupon code TAKE20
GGServers Facebook GGServers Twitter GGServers YouTube GGServers Discord GGServers Instagram GGServers TikTok GGServers Reddit

How to Create Automatic Backups for Your Playerdata

![](https://storage.crisp.chat/users/helpdesk/website/ba33bb39ceb6d800/banner10_1mgbruh.png)

This guide will show you how to properly set up automatic backups for your playerdata, which is the folder in your server’s world where all details linked to players are saved, like their inventory or level.

||| We have a guide [here](https://help.ggservers.com/en-us/article/how-to-set-up-and-use-scheduled-tasks-npe14v/) explaining scheduled tasks.

|| ⚠ **NOTE **⚠: The server will keep just the latest three backups. After that, the backups will start getting overwritten, so only the latest three are kept.

You will need to first create a custom command via Multicraft for backing up the playerdata, then set up a scheduled task to run it at a given interval.

# Create the Custom Command

To create the custom command, you need to:

1. Log in to your Multicraft [here](https://mc.ggservers.com/site/login) and stop your server.

2. Click on `Advanced`, then `Commands`.

![Commands](https://storage.crisp.chat/users/helpdesk/website/ba33bb39ceb6d800/1_1ndzwap.png)

3. Click on `Create Command`.

![Create Command](https://storage.crisp.chat/users/helpdesk/website/ba33bb39ceb6d800/4_1o7k3r3.png)

4. Set up the new command as shown below, then click on `Create`.

|| ⚠ **NOTE **⚠: You will have to use `builtin:script backupPlayerdata` for the `run` part of the command.

![Create New Command](https://storage.crisp.chat/users/helpdesk/website/ba33bb39ceb6d800/10_t2pjyb.png)

# Setting Up the Scheduled Task for the Playerdata Backup

To set up automatic playerdata backups, you need to:

1. Log in to your Multicraft [here](https://mc.ggservers.com/site/login) and stop your server.

2. Click on `Advanced`, then `Scheduled Tasks`.

![Scheduled Tasks](https://storage.crisp.chat/users/helpdesk/website/ba33bb39ceb6d800/5_fx5f5y.png)

3. Click on `New Task`.

![New Task](https://storage.crisp.chat/users/helpdesk/website/ba33bb39ceb6d800/2_16yqy7k.png)

4. Set up the scheduled task as shown below, and click on `Create`.

![Scheduled Task](https://storage.crisp.chat/users/helpdesk/website/ba33bb39ceb6d800/611_ofjlwt.png)

###### Name

* It will be set to `Playerdata_Backup` as we can set it to whatever we want.

###### Status

* It will be set to `Scheduled` since we want the task to keep happening.

###### Scheduled Time

* You will have to open the `Scheduled Time` section and move the minute’s bar to five minutes later, so our task will start five minutes from the actual moment.

![Scheduled Time](https://storage.crisp.chat/users/helpdesk/website/ba33bb39ceb6d800/71_7no8g1.png)

###### Interval

* We will set it to one day, so the task is repeated each day at the same hour.

###### Command

* The command is set to the `Backup_Playerdata` command that you created.

###### Arguments

* The argument will be blank; there is no need to fill this one.

###### Run For

* We want the command to be run for the entire server, so we will set the `Server` option in this section.

| If you find any issues, contact us on live chat or via the [ticket system](https://help.ggservers.com/en-us/article/how-to-open-a-support-ticket-qjzuyd/).

# ❕ Useful Links ❕

– [How and When Should You Delete Your Player Data](https://help.ggservers.com/en-us/article/how-and-when-should-you-delete-your-player-data-1wo9h3s/)
– [Reset your Multicraft Password](https://help.ggservers.com/en-us/article/reset-your-multicraft-password-sqa3sf/)
– [The Difference Between Standard & Premium](https://help.ggservers.com/en-us/article/the-difference-between-standard-premium-104nqdh/)

Leave a Comment

CAPTCHA ImageChange Image