How Can We Help?
Print

How to Use Pterodactyl Schedules to Automatically Create Backups

Using Pterodactyl schedules to create a backup automatically is a great way to ensure enhanced security on your server. This guide will show you how to create a backup using the scheduler. The following schedule behaviour should be considered:

If you reach the maximum number of backups allowed, the panel will delete the oldest backup;

If the oldest backup is “locked”, then the panel will delete the next oldest backup which is not locked;

If all backups are locked, the schedule will fail.

1. Log into your Pterodactyl panel and open your server

2. Go to the Schedules page

3. Create a new schedule

4. Give the schedule a suitable name, such as “Daily Backup Job”

5. Provide the following CRON:

MinuteHourDay of MonthMonthDay of Week
00***

This CRON translates to: Run on the 0th Minute, of the 0th Hour, every day of the month. This means, the schedule will run at 00:00 daily.

You can tick the “Show Cheatsheet” toggle to see more:

6. Disable the “Only When Server is Online” toggle, and enable the “Schedule Enabled” toggle.

7. Click “Create schedule”

8. Click “Manage schedule”

9. Click “New Task”

10. Set the “Action” drop down to be “Create backup”

11. Click “Create Task”

12. Click “Run Now” to test the task

13. Go to the “Backups” page to see the new backup