Backups
The agent, a small program on your server, backs up the databases of your server every day, encrypts them on your server and stores them there. On request a copy goes to a second location: our storage or your own storage. You start a restore in the panel.

What is backed up
The databases that change during operation are backed up. Server files and clients are yours and are not backed up.
| Content | Backup | Note |
|---|---|---|
| Game databases | always | the agent detects them from the configuration of the cores. In Metin2, for example, account, player and common. |
| Log database | optional | often large and not needed to run the server, so it is off by default |
| Other databases | optional | you add them in the configuration of the agent |
| Configuration folder | planned | not implemented yet |
| Server files, quests, client | no | you back these files up yourself, we do not store game files |
Schedule and storage
- Scheduledaily at 04:30 server time, adjustable. Also before every module installation through the agent and at the push of a button in the panel.
- Method
mariadb-dumpormysqldumpper database, then gzip. With MyISAM tables, as is usual in Metin2, the tables are locked briefly during the dump so that the state is consistent. - RightsThe database user in
[datenbank]needsSELECT,LOCK TABLES,SHOW VIEW,TRIGGERandEVENTon the game databases. WithoutTRIGGERthe backup aborts if a table has a trigger (in Metin2 oftenplayer). To restore, it also needs write rights, e.g. throughschreib_nutzer. - EncryptionAES-256 on your server. The agent creates the key file when it is first needed, and it stays on your server.
- ChecksumSHA-256 for every file
- Storagein the folder
/var/backups/serverwerkon your server, readable by root only - Second locationeither our storage or an SFTP server or S3-compatible object storage that you provide yourself. After the transfer the size is checked.
- Our storagefrom agent 0.5.0 with
ziel = serverwerk: an encrypted copy in our object storage in Germany, Plus 20 GB, Pro 100 GB per server. Encrypted files only, the key is held only by you and your server. Download in the panel, fetch back to a new server if needed. - CheckAlert if the last backup is older than 26 hours or a database is less than half the size it had in the previous backup. The alert arrives by Discord and by email.
Retention
The default is 7 days, adjustable. You can also keep the newest backup of every week and every month. The newest backup is always kept. Deletions also apply in the second location.
Keep the key safe: After setup, store a copy of the key file in a safe place. Without it a backup cannot be decrypted on a new server, not even by us.
Restore
Restoring has to be allowed in the allow list on your server (sicherung_zurueck). It works from the files that are on your server. You first fetch a backup from our storage back to the server with one click. The steps in the panel:
- Test, if you want. The agent restores the backup into a separate test database, counts the rows of every table and deletes the test database again. The game keeps running and the real database stays untouched. Afterwards you see for each table how many rows are in the backup and how many are in the database now.
- Choose a backup. You see date, size and the databases it contains.
- Choose the scope. The whole backup or a single database.
- Confirm. To confirm, you enter the name of the server.
- Maintenance. The agent checks the checksums, announces the maintenance in the game, stops the services and backs up the current state.
- Restore. The agent restores the backup and then starts the services. If the restore fails, it restores the state it just backed up.
Files
The files are on your server. With our storage you can also download them in the panel, encrypted the same way as on the server. The agent shows the list on the server:
Decrypt by hand (Linux, on FreeBSD the key file is under /var/db/serverwerk/):
Not implemented yet
These features are planned and not available today.
| Feature | Status |
|---|---|
| Backup of configuration folders | planned |
Questions about backups
Are backups included in the Free or Basic plan?
Where are the backups stored?
Can you read my backups?
Can I download a backup in the panel?
How do I notice that a backup is missing or broken?
How long are backups kept?
Is there a test restore?
What happens if my server fails completely?
Backups from the Plus plan
7.99 € per server and month, cancel monthly. It includes actions with one click and 20% off modules.