grupoarc / grouphug

Decentralized activity streams and more
Other
1 stars 0 forks source link

Feature: database (room + users + chat) dump and restore #25

Closed pjz closed 9 years ago

pjz commented 9 years ago

Dump to json or something. Mongo may do some or all of this?

pjz commented 9 years ago

Should we dump chat too?

jbone commented 9 years ago

Json, rooms + chat, yes.

jb

On Sep 25, 2015, at 2:17 PM, Paul Jimenez notifications@github.com wrote:

Should we dump chat too?

— Reply to this email directly or view it on GitHub.

pjz commented 9 years ago

What do the URIs for this look like? /backup.gz and /restore ? or /admin/ with links to those?

jbone commented 9 years ago

I think /admin/backups w ?action=dump and action=restore, w the latter supporting asof=zzzz

On Oct 6, 2015, at 12:44, Paul Jimenez notifications@github.com wrote:

What do the URIs for this look like? /backup.gz and /restore ? or /admin/ with links to those?

— Reply to this email directly or view it on GitHub.

pjz commented 9 years ago

So, like app-dump ?

jbone commented 9 years ago

Hmm, 'k?

On Oct 7, 2015, at 11:46, Paul Jimenez notifications@github.com wrote:

So, like app-dump ?

— Reply to this email directly or view it on GitHub.

pjz commented 9 years ago

Done in https://github.com/grupoarc/grouphug/commit/150b29107c61910c17974ae3e962eb1ca102f2ec