Page MenuHomeSchine - Phabricator

Launcher | Add an option to backup world, database, configs prior to updating
Closed, FinishedPublic

Description

The previous launcher would ask you to backup prior to updating.
While not terribly useful, this would still be useful to have.

Possibly add an option to store only the last N backups to prevent filling the disk with backups.

Details

Commits
Restricted Diffusion Commit
Restricted Diffusion Commit
Restricted Diffusion Commit
Task Type
Feature
Testing Results
Affected Gamemode(s)
Launcher
Reproducible
uncertain
Last tested (version)
2.1.0 (build 907fae7) v169
Category
Launcher
Hardware/Software/System
OS-Specific
No
Hardware-Specific
No
Video Card Vendor
uncertain
Serverconfig (server.cfg)
<replace this line with the file content>
Clientconfig (settings.cfg)
<replace this line with the file content>

Event Timeline

calani created this task.May 29 2016, 10:35 PM
calani shifted this object from the S1 Public space to the S3 Starmade space.
calani changed Task Type from Bug to Feature.
calani shifted this object from the S3 Starmade space to the S5 Launcher space.
calani triaged this task as Low priority.
lancake changed the visibility from "Custom Policy" to "Public (No Login Required)".Jun 14 2016, 11:56 PM
lancake changed the edit policy from "Task Author" to "Starmade (Project)".
lancake added a subscriber: lancake.
lancake claimed this task.
lancake removed lancake as the assignee of this task.
lancake assigned this task to calani.
Restricted Application edited projects, added Issue Navigation, Starmade; removed Launcher Development. · View Herald TranscriptJul 30 2016, 12:00 AM
SmilingDemon moved this task from New / Unconfirmed to Open / Validated on the Issue Navigation board.
SmilingDemon changed Affected Gamemode(s) from none/unspecified to Launcher.
SmilingDemon changed Category from none/unspecified to Launcher.
SmilingDemon changed the task status from Open to In Queue (Launcher).Jul 30 2016, 10:51 AM
Restricted Application edited projects, added Launcher Development; removed Issue Navigation. · View Herald TranscriptJul 30 2016, 10:51 AM
erthparadine added a comment.EditedJul 31 2016, 11:14 PM

Another use case regarding control over update-related backup behaviors:

Jul 31 22:51:18 stars SMDev: [ZIP] Zipping folder: /opt/devStarmade/./StarMade/server-database to backup-StarMade-0.198.485-20160719_005153_1470005472878.zip.tmp (Filter: backup-StarMade-)
Jul 31 23:52:01 stars SMDev: Copying Backup mFile to install dir...
Jul 31 23:52:01 stars SMDev: Copy to: /opt/devStarmade/./StarMade/backup-StarMade-0.198.485-20160719_005153_1470005472878.zip
Jul 31 23:53:44 stars SMDev: [BACKUP] DONE

That's log entries from our dev instance, although I could also pull a copy from our staging install as well. In both dev and staging, there is absolutely zero value in such a forced backup, as server-database/ data had JUST been populated by a dump from production's most recent backup. Yet we're forced to wait over an hour before an update can actually be applied. In our specific circumstances, there's also zero value in a forced backup of production, as we already handle that at every server restart/startup.

For server operators, a command-line switch to enable forced backups (defaulting to true) would be ideal.

calani added a commit: Restricted Diffusion Commit.Sep 10 2016, 2:51 AM
calani changed the task status from In Queue (Launcher) to Resolved by committing Restricted Diffusion Commit.
Restricted Application edited projects, added Quality Assurance; removed Launcher Development. · View Herald TranscriptSep 10 2016, 2:51 AM
calani changed the task status from Resolved to In Queue (Launcher).Sep 22 2016, 2:29 AM
Restricted Application edited projects, added Launcher Development; removed Quality Assurance. · View Herald TranscriptSep 22 2016, 2:29 AM
calani added a commit: Restricted Diffusion Commit.Sep 22 2016, 4:19 AM
calani changed the task status from In Queue (Launcher) to Resolved by committing Restricted Diffusion Commit.
Restricted Application edited projects, added Quality Assurance; removed Launcher Development. · View Herald TranscriptSep 22 2016, 4:19 AM
lancake set Last tested (version) to 2.1.0 (build 907fae7) v169.Sep 26 2016, 3:54 PM
calani changed the task status from Resolved to In Queue (Launcher).Sep 26 2016, 6:37 PM

Add these files to the backup:
/settings.cfg
/server.cfg
/keyboard.cfg
/joystick.cfg

Restricted Application edited projects, added Launcher Development; removed Quality Assurance. · View Herald TranscriptSep 26 2016, 6:37 PM
calani added a commit: Restricted Diffusion Commit.Oct 6 2016, 2:02 AM
calani changed the task status from In Queue (Launcher) to Resolved by committing Restricted Diffusion Commit.
Restricted Application edited projects, added Quality Assurance; removed Launcher Development. · View Herald TranscriptOct 6 2016, 2:02 AM
AndyP added a subscriber: AndyP.
AndyP closed this task as Closed.

-QA Testing-

Fix Confirmed.

Restricted Application removed a project: Quality Assurance. · View Herald TranscriptDec 15 2016, 12:42 AM
Restricted Application removed a subscriber: AndyP. · View Herald Transcript