Database Backup and Restore: Difference between revisions

From Survival Servers
Jump to navigation Jump to search
Standards cleanup: config lines to pre/code, spacer/HTML removal, heading normalization (corpus audit 2026-07-21)
[wiki:ss-claude-11372] Fixes: wrong or outdated steps, labels and facts corrected, current pictures, dead links fixed, search title and description
Line 1: Line 1:
{{#seo:
|title=Database Backup and Restore: Arma, FiveM and RedM Servers
|description=Restore your Arma, FiveM or RedM server's database from an automatic backup, or download your own copy with phpMyAdmin from your server's page.
}}




== DB Backup and Restore Tool ==
== DB Backup and Restore Tool ==


This tool creates database backups of your server every 30 minutes of EVERY day for 3 days straight, and discards each backup individually at the end of 72 hour period.
This tool creates database backups of your server once a day, overnight Pacific Time, and discards each backup individually after a few days.


     '''Step 1:''' Open your Game server control panel, scroll to the bottom left and choose the restoration point from the drop down list.<br>            See the photo below for help.
     '''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'''. See the photo below for help.


     '''Step 2:''' Press the big green button to restore a database. '''IMPORTANT''': This will wipe your server.cfg to a default server.cfg, 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, please <br>            make a backup if you made any changes to that file


[[File:DB Restore2.png|700px]]
[[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.]]


----
----


== Export and Import Databases with PhpRedisAdmin ==
== Export and Import Databases with PhpMyAdmin ==


This is a web browser database tool, that allows you to export and import your database.<br>   
This is a web browser database tool, that allows you to export and import your database.<br>   
This can be used as an alternative to our DB restore tool mentioned above.
This can be used as an alternative to our DB restore tool mentioned above.


     '''Step 1:''' Open your Game server control panel, and at the top/middle, click on the host IP address underneath where it says "Redis DB Details".<br>            This will take you to a new page in the web browser. See photo 1 below for help.
     '''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. See photo 1 below for help.


     '''Step 2:''' Click the small silver export icon in the upper left corner.  See photo 2 below for help.
     '''Step 2:''' Click your database on the left (ss_ followed by your server ID), then the Export tab at the top.  See photo 2 below for help.


     '''Step 3:''' Click Export on the right, and then copy / paste all of the data into Notepad++ or Notepad. '''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, 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 4:''' Click the small silver Import icon in the upper left corner.  Paste the data to re-import it and click the Import button below the text box.


Photo #1:<br>
Photo #1:<br>
[[File:PhpRedisAdminupdate.png|850px]]
[[File:arma3-panel-database-details-2026-10.png|thumb|none|513px|alt=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:<br>
Photo #2:<br>
[[File:PhpRedisAdminupdate2.png|600px]]
[[File:PhpRedisAdminupdate2.png|600px|alt=phpMyAdmin export page for an ss_ database, with arrows on the database, the Export tab and the button under the SQL format.]]


----
----
Line 36: Line 38:
== PhpMyAdmin ==
== PhpMyAdmin ==


COMING SOON
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]].


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


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

Revision as of 20:59, 14 October 2026


DB 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.

    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.
On FiveM and RedM, use the Restore DB Backup list under RESTORE A SERVER SAVE. See the photo below for help.
    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 
make a backup if you made any changes to 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

This is a web browser database tool, that allows you to export and import your database.
This can be used as an alternative to our DB restore tool mentioned above.

    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".
This will open phpMyAdmin in a new tab, already signed in. Arma 3 Epoch's "Redis DB Details" has no such link. See photo 1 below for help.
    Step 2: Click your database on the left (ss_ followed by your server ID), then the Export tab at the top.  See photo 2 below for help.
    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 
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,
this way you can easily restore data from a certain time or 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 your server's 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.