ImperialHost.cc · Guides · Files, databases and backups
Server backups: create, download and restore
A backup saves all the server's files into one archive. You create it on the Backups tab, download it to your computer, and when something goes wrong, you restore the server from it.
Before you start
- A game server, website, Discord bot or AI agent with us.
1. Create a backup
- In the client area open Services, pick the service and click Open game panel.
- On the Backups tab click Create backup. You can type a name in Backup name, for example
before update. - Click Start backup. While the backup is being made, a spinner turns next to it.
- The server can keep running during a backup. A game world is backed up more reliably, though, if you stop the server first with the Stop button (the square at the top near the server's name).
A backup holds only the server's files, not the databases. Back up a database with an export in phpMyAdmin: Manage your database in phpMyAdmin.
2. How many backups you can have
- Game servers: Start 2, Standard 3, Pro and Ultra 5 backups. Websites and Discord bots: 5. AI agents: Start 2, Standard 3, Pro 5.
- Below the list of backups the panel says how many you already have. When you are at the limit, the Create backup button disappears.
- You delete an old backup with the three dots at the end of its row: Delete, then confirm with Continue. A deleted backup can't be brought back.
- Lock a backup you don't want to lose with the three dots and Lock. A locked backup can't be deleted until you unlock it (Unlock).
3. Download a backup to your computer
- Click the three dots next to the backup and Download. A
.tar.gzfile downloads. - You can open it, for example, in 7-Zip. It helps when you need just one file, or want a copy away from the server.
4. Restore the server from a backup
- Click the three dots next to the backup and Restore. The panel stops the server by itself. Until the restore is done, you can't start the server or open its files.
- Tick Delete all files before restoring backup. if you want the server exactly as it was in the backup. Without it, the backup's files are written over the current ones, and files that are not in the backup stay.
- Confirm with Restore, wait until the restore is done and start the server with the Start button (the triangle at the top near the server's name).
5. Set up automatic backups
- On the Schedules tab click Create schedule. Type, for example,
Nightly backupin Schedule name,0in Minute (the prefilled*/5means every 5 minutes) and4in Hour. - Leave the other fields at
*and confirm with Create schedule. The times are Czech time, so the backup runs every day at 4:00. - Click the new schedule in the list, then New Task. In Action pick Create backup and click Create Task.
- When you are at the limit, the automatic backup deletes your oldest unlocked backup. Lock the backups you want to keep with Lock.
The Only When Server Is Online switch is on, so the schedule runs only while the server runs. If you want a backup of a stopped server too, turn it off.
Troubleshooting
The Create backup button is missing
You have the full number of backups. Delete an old backup (unlock a locked one first with Unlock) and the button shows up again.
The panel won't let me create another backup
At most 2 backups can be made within 10 minutes. Wait a few minutes and try again.
A backup has the Failed label
The backup could not be made. Delete it with the bin icon at the end of the row and try again. If it keeps happening, message us.
I need just one file from a backup
Don't restore the whole backup. Download it with Download, unpack the file on your computer and upload it on the Files tab with Upload, or over SFTP: Connect to your server with SFTP (FileZilla, WinSCP).
Still stuck?
Message us on Discord. The AI assistant Aurel answers first, and you can call an admin. Or open a ticket in the client area.