ether/etherpad-lite — pull request #2329 by timrchavez (2014-11-19 18:54:50+00:00)
Title: Restore pad to new location at a given revision

This script gives an admin with shell access the ability to restore a
pad at a given revision by essentially rebuilding it at a new location
with data associated with the original pad. The upsides to creating a
new pad vs. changing the original are: 1) avoiding service disruptions
(no deletes, no moving targets - builds from previous revision); and 2)
preservation of data (no deletes, no overwriting of the source pad).
The most obvious downside is the pad has a new ID which could require
folks to update their links, bookmarks, etc. to point at the new
location.

Our requirements for restoring pads at given revisions may be slightly
different than other folks. We are not looking to enable a new feature
for users, but really another tool an admin can use to effectively fix
broken pads.

I would not consider this script to be complete. I've only been looking
at etherpad-lite code for a few days now. I was hoping to get some
feedback / comments on places I can improve it and in the general
strategy.

Fixes #1791
(so it shows up in that conversation)