Database Backup and Restore: Difference between revisions

From Survival Servers
Jump to navigation Jump to search
StevenW (talk | contribs)
No edit summary
[wiki:wiki-operator] Reworded to the house writing rules; facts that were wrong today corrected (approved by Ryan, Nov 17)
 
(11 intermediate revisions by 2 users not shown)
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 ==
== Database 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 backs up your server's database once a day, overnight Pacific Time, and deletes each backup 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 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 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. <br>            Make a backup first if you changed that file.
 
 
[[File:DB Restore.jpg]]


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


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


    '''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>
[[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 #1:<br>
[[File:PhpRedisAdmin1.jpg]]
<br><br>
Photo #2:<br>
Photo #2:<br>
[[File:PhpRedisAdmin2.jpg]]
[[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.]]
 


----
----


== phpMyAdmin ==


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


== 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]].

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.