<samba_>
ok, thanks. isd I think the backup feature is not really useful to export/import a mediawiki db
<samba_>
is just in the case I need to restore the grain, but I've not the xml I need to import the source
<samba_>
and I've no easy access to the db
<samba_>
so, for what I can see the only option seems to do an Specia:Export/Pagename for everypage
<ocdtrekkie>
I'm wondering if there's any sort of global category you could use in the top box of that Export page to grab everything.
<ocdtrekkie>
But generally, yeah, that seems to be the case. :/
<isd>
The other option is to pick open the zip file and try to run that php script on the contents from somewhere, though it might take a bit of fiddling
<ocdtrekkie>
Export all pages is a common sense thing to do, and I'm a bit mystified why MediaWiki chose not to offer that in their web interface. They've gotten better over time, but MediaWiki software seems to have a preference for telling you to do things in the file system on the server for a lot of tasks.
<isd>
but there's going to be a snapshot of the db in there somewhere.
<ocdtrekkie>
Might not even be that hard. It looks like it might be sqlite.
isd has quit [Quit: Leaving.]
ceiphas has quit [Disconnected by services]
ceiphas_ has joined #sandstorm
jemc has quit [Ping timeout: 258 seconds]
jemc has joined #sandstorm
jemc has quit [Ping timeout: 260 seconds]
tg has quit [Ping timeout: 260 seconds]
tg has joined #sandstorm
jemc has joined #sandstorm
jemc has quit [Client Quit]
aggelos_ has quit [Ping timeout: 246 seconds]
aggelos_ has joined #sandstorm
harish has joined #sandstorm
ceiphas_ has quit [Remote host closed the connection]
ceiphas_ has joined #sandstorm
xet7 has joined #sandstorm
nwf has quit [Ping timeout: 240 seconds]
ceiphas_ has quit [Remote host closed the connection]
ceiphas_ has joined #sandstorm
nwf has joined #sandstorm
Aurelius has quit [Quit: Aurelius]
harish has quit [Ping timeout: 246 seconds]
tg has quit [Ping timeout: 246 seconds]
tg has joined #sandstorm
ceiphas_ has quit [Remote host closed the connection]
ceiphas_ has joined #sandstorm
ceiphas_ has quit [Read error: Connection reset by peer]
ceiphas_ has joined #sandstorm
harish has joined #sandstorm
ceiphas_ has quit [Remote host closed the connection]
<samba_>
I've the backup but I'm not sure where is physically the file
<samba_>
I've something like : sandstorm/var/sandstorm/apps/0059cac5e958a9bd57b41f24d7b56503
<samba_>
and I don't know which id is pointing to the pad I want to restore
<samba_>
how can I know that ?
bananaman has joined #sandstorm
bananaman has quit [Client Quit]
<TimMc>
samba_: This is a filesystem backup, not a grain backup, right? (Or... is there a difference? I've never checked.)
strugee has quit [Ping timeout: 240 seconds]
<samba_>
a fs backup TimMc , I need to check if I can restore a specific pad
strugee has joined #sandstorm
<TimMc>
So you have a grain you want to revert back to that version?
<TimMc>
In just a bit I'll have my sandstorm box back up and running and will be able to give you more details, but there's a directory of grains down in the sandstorm directory, and worst case you can find your grain by putting a unique string in the etherpad and grepping. :-P
<samba_>
so, there's no way to know which grain is app 1010219292901219819218 ?
<samba_>
where sandstorm store this data?
<TimMc>
samba_: Ah, here we go. Do you know the grain ID?
<samba_>
no, that's the problem
<samba_>
I've the url or the name of the pad
<TimMc>
hmm
<TimMc>
FYI the grains are stored in /opt/sandstorm/var/sandstorm/grains/ as directories, by grain ID.
<samba_>
the grainID is the same text I see in the url bar when I open a grain?
<samba_>
because if so, I found my pad to restore in : sandstorm/var/sandstorm/grains/AQ8TzrCHScFvJAQN9K4mYX
<TimMc>
yes
<TimMc>
And there should be a ./sandbox/sqlite3.db in there if it's etherpad
Zertrin_ is now known as Zertrin
<samba_>
there is
<TimMc>
OK! Sounds like you have a path forward now. :-)
<samba_>
yes, I'm doing it..
<samba_>
all this stuff I'm doing is because there was an issue with etherpad+sandstorm I was not able to recreate and debug
<samba_>
a pad (very big) was edited adding some info last week, then yesterday checking this info some user told me the modification was gone
<samba_>
so, I tried to do the same , but the pad seems working
<samba_>
now I'm thinking about to do a restore and check it out
<samba_>
do you know if there's any issue with big pad and sandstorm?
<TimMc>
Nothing I know of.
jemc has joined #sandstorm
ocdtr_web has joined #sandstorm
<ocdtr_web>
Added an app porting bounty for Monica on http://sandsheep.com/bb though I might try it myself.
<ocdtr_web>
Couple people on the Reddit discussion were interested in the idea of it being on Sandstorm.
DanC has quit [Ping timeout: 245 seconds]
DanC has joined #sandstorm
nwf has quit [Ping timeout: 258 seconds]
nwf has joined #sandstorm
digitalcircuit has quit [Quit: Signing off from Quassel - see ya!]
digitalcircuit has joined #sandstorm
xet7 has quit [Quit: Leaving]
xet7 has joined #sandstorm
ceiphas_ has quit [Remote host closed the connection]
ceiphas has joined #sandstorm
Aurelius has joined #sandstorm
bodisiw has joined #sandstorm
jemc has quit [Ping timeout: 268 seconds]
isd has joined #sandstorm
jemc has joined #sandstorm
isd has quit [Ping timeout: 260 seconds]
Telesight has joined #sandstorm
ogres has joined #sandstorm
isd has joined #sandstorm
strugee has quit [Ping timeout: 255 seconds]
zopsi has quit [Quit: Goodnight and Good Luck]
DanC has quit [Ping timeout: 260 seconds]
DanC has joined #sandstorm
strugee has joined #sandstorm
zopsi has joined #sandstorm
<isd>
TimMc: re: the fs vs. grain backup distinction: a grain backup is just a zip of the grain directory (so includes logs + the sandbox dir, which is the grain's /var)
* isd
has discovered that logs are almost as good as a bouncer.
strugee has quit [Ping timeout: 240 seconds]
strugee has joined #sandstorm
jemc has quit [Ping timeout: 260 seconds]
jemc has joined #sandstorm
bodisiw has quit [Quit: Leaving]
isd has quit [Quit: Leaving.]
<TimMc>
hah
isd has joined #sandstorm
strugee has quit [Ping timeout: 240 seconds]
strugee has joined #sandstorm
strugee has quit [Ping timeout: 260 seconds]
strugee has joined #sandstorm
ocdtr_web has quit [Quit: Page closed]
Telesight has quit [Quit: Leaving.]
bemasc has joined #sandstorm
Zertrin_ has joined #sandstorm
larjona_ has joined #sandstorm
zopsi has quit [Ping timeout: 240 seconds]
isd has quit [Ping timeout: 240 seconds]
M-hrjet has quit [Ping timeout: 240 seconds]
bemasc_ has quit [Ping timeout: 240 seconds]
kentonv has quit [Ping timeout: 240 seconds]
thekyriarchy has quit [Ping timeout: 240 seconds]
Zertrin has quit [Ping timeout: 240 seconds]
larjona has quit [Ping timeout: 240 seconds]
zopsi_ has joined #sandstorm
kentonv has joined #sandstorm
isd has joined #sandstorm
zopsi_ is now known as zopsi
M-hrjet has joined #sandstorm
thekyriarchy has joined #sandstorm
Mitar has quit [Ping timeout: 240 seconds]
larjona_ is now known as larjona
Mitar has joined #sandstorm
frigginglorious has joined #sandstorm
frigginglorious has quit [Remote host closed the connection]
<isd>
So I'm trying to figure out how to correctly implement postStreaming/putStreaming in my Go wrapper for web-session. Is it actually possible (without promises, which the go capnp implementation still can't return afaik) to implement a handler for those that expects to read in data from the request body before returing any of the response? The RequestStream docs suggest that the caller will always call getResponse before actually
<isd>
g any data. So I don't see, without promises, a way to do this.