Database Backup and Restore: Difference between revisions

From Survival Servers
Jump to navigation Jump to search
[wiki:ss-claude-11372] Cut filler: notes about the page itself, repeated lines, empty phrases and decorative pictures (Ryan 2026-10-15)
[wiki:wiki-operator] Reworded to the house writing rules; facts that were wrong today corrected (approved by Ryan, Nov 17)
 
Line 5: Line 5:




== DB Backup and Restore Tool ==
== Database backup and restore tool ==


This tool creates database backups of your server once a day, overnight Pacific Time, and discards each backup individually after a few days.
This tool backs up your server's database once a day, overnight Pacific Time, and deletes each backup after a few days.


     '''Step 1:''' Open your server's page in the Command Center, scroll down to '''RESTORE A DATABASE BACKUP''' and choose the restoration point from the '''Restore Backup''' list.<br>            On FiveM and RedM, use the '''Restore DB Backup''' list under '''RESTORE A SERVER SAVE'''.
     '''Step 1:''' Open the Game Server page in the Command Center, scroll down to '''RESTORE A DATABASE BACKUP''' and choose a backup from the '''Restore Backup''' list.<br>            On FiveM and RedM, use the '''Restore DB Backup''' list under '''RESTORE A SERVER SAVE'''.


     '''Step 2:''' Press '''Save Settings & Restart''' in the bar at the bottom to restore a database. '''IMPORTANT''': On Arma servers this rewrites your server.cfg from your Command Center settings, please <br>            make a backup if you made any changes to that file
     '''Step 2:''' Press '''Save Settings & Restart''' in the bar at the bottom to restore a database. '''Important''': on Arma servers this rewrites your server.cfg from your Command Center settings. <br>            Make a backup first if you changed that file.


[[File:arma3-panel-restore-database-backup-2026-10.png|thumb|none|720px|alt=Restore a Database Backup panel with the Restore Backup list open, showing dated database backups with the newest at the bottom.|Pick a backup from the list. The newest is at the bottom.]]
[[File:arma3-panel-restore-database-backup-2026-10.png|thumb|none|720px|alt=Restore a Database Backup panel with the Restore Backup list open, showing dated database backups with the newest at the bottom.|Pick a backup from the list. The newest is at the bottom.]]
Line 19: Line 19:
== Export and Import Databases with PhpMyAdmin ==
== Export and Import Databases with PhpMyAdmin ==


This is a web browser database tool, that allows you to export and import your database.<br>   
phpMyAdmin is a database tool in your web browser for exporting and importing your database.<br>   
This can be used as an alternative to our DB restore tool mentioned above.
You can use it instead of the database backup and restore tool.


     '''Step 1:''' Open your server's page in the Command Center, and at the top, click on the host IP address next to HOST under "Database Details".<br>            This will open phpMyAdmin in a new tab, already signed in. Arma 3 Epoch's "Redis DB Details" has no such link.
     '''Step 1:''' Open the Game Server page in the Command Center. At the top, click the host IP address next to HOST under "Database Details".<br>            phpMyAdmin opens in a new tab, already signed in. Arma 3 Epoch's "Redis DB Details" has no such link.


     '''Step 2:''' Click your database on the left (ss_ followed by your server ID), then the Export tab at the top.
     '''Step 2:''' Click your database on the left (ss_ followed by your server ID), then the Export tab at the top.


     '''Step 3:''' Leave the format on SQL and click '''Export''' under it, and a .sql file downloads. '''IMPORTANT''': If you save a copy of the <br>            exported data, it will help you stay organized if you make a new folder on your computer that is labelled with the DATE of the backup,<br>            this way you can easily restore data from a certain time or day.
     '''Step 3:''' Leave the format on SQL and click '''Export''' under it. A .sql file downloads. '''Tip''': keep each export in its own folder on your computer, <br>            named with the date of the backup,<br>            so you can restore data from a set day.


Photo #1:<br>
Photo #1:<br>
Line 36: Line 36:
----
----


== PhpMyAdmin ==
== phpMyAdmin ==


phpMyAdmin opens from the HOST address under DATABASE DETAILS on your server's page. The steps are in [[#Export and Import Databases with PhpMyAdmin|Export and Import Databases with PhpMyAdmin]].
phpMyAdmin opens from the HOST address under DATABASE DETAILS on the Game Server page. The steps are in [[#Export and Import Databases with PhpMyAdmin|Export and Import Databases with PhpMyAdmin]].


== How to save copies of your modified files ==
== How to save copies of your modified files ==


Download them from the [[File Manager]] (right-click a file, then '''Download''') or over [[FTP Access|FTP]].
Download them from the [[File Manager]] (right-click a file, then '''Download''') or over [[FTP Access|FTP]].

Latest revision as of 08:42, 17 November 2026


Database backup and restore tool

This tool backs up your server's database once a day, overnight Pacific Time, and deletes each backup after a few days.

    Step 1: Open the Game Server page in the Command Center, scroll down to RESTORE A DATABASE BACKUP and choose a backup from the Restore Backup list.
On FiveM and RedM, use the Restore DB Backup list under RESTORE A SERVER SAVE.
    Step 2: Press Save Settings & Restart in the bar at the bottom to restore a database. Important: on Arma servers this rewrites your server.cfg from your Command Center settings. 
Make a backup first if you changed that file.
Restore a Database Backup panel with the Restore Backup list open, showing dated database backups with the newest at the bottom.
Pick a backup from the list. The newest is at the bottom.

Export and Import Databases with PhpMyAdmin

phpMyAdmin is a database tool in your web browser for exporting and importing your database.
You can use it instead of the database backup and restore tool.

    Step 1: Open the Game Server page in the Command Center. At the top, click the host IP address next to HOST under "Database Details".
phpMyAdmin opens in a new tab, already signed in. Arma 3 Epoch's "Redis DB Details" has no such link.
    Step 2: Click your database on the left (ss_ followed by your server ID), then the Export tab at the top.
    Step 3: Leave the format on SQL and click Export under it. A .sql file downloads. Tip: keep each export in its own folder on your computer, 
named with the date of the backup,
so you can restore data from a set day.

Photo #1:

Database Details showing the host link outlined in gold, the port, database name, user and a hidden password, beside FTP Details.
The address next to HOST opens phpMyAdmin.

Photo #2:
phpMyAdmin export page for an ss_ database, with arrows on the database, the Export tab and the button under the SQL format.


phpMyAdmin

phpMyAdmin opens from the HOST address under DATABASE DETAILS on the Game Server page. The steps are in Export and Import Databases with PhpMyAdmin.

How to save copies of your modified files

Download them from the File Manager (right-click a file, then Download) or over FTP.