maniaplanet / manialive

PHP controller for the ManiaPlanet Dedicated Server
GNU Lesser General Public License v3.0
9 stars 4 forks source link

Should update script make a backup ? #28

Closed magnetik closed 10 years ago

magnetik commented 10 years ago

From petri.ja...@gmail.com on May 20, 2011 07:51:40

I was wondering should the updating script make a backup before writing over the files --> one could then roll back if the updating fails.

Original issue: http://code.google.com/p/manialive/issues/detail?id=28

magnetik commented 10 years ago

From melot.philippe on May 19, 2011 23:16:33

I take this in note

Status: Accepted
Owner: melot.philippe
Labels: -Type-Defect Type-Enhancement

magnetik commented 10 years ago

From pbax...@gmail.com on October 24, 2011 10:24:21

It'd be simple enough to dump a backup into a tarball archive.. plenty of server operators (should) do so already, and it'd be easy enough to allow for a 'revert' command in the update script as well as allow a server op to do so manually via console (though windows installs will need a command line archive tool like 'tartool').