Ok, let me give you an overview of our project : We have a webapp and an 
iOS app.

iOS app works with couchbaselite synced with our storyplayer-sync couchbase 
bucket

Webapp works in with node.js with our storyplayer-api bucket except 
considering attachments. Because couchbase does not support attachment 
upload/download, we have to go through sync-gateway.

storyplayer-api and storyplayer-sync are "shadowed".

I am very surprised when you say that attachments are not copied in the 
storyplayer-api bucket. Because I believe I have already done this process 
before when doing building a preprod database from the prod database :
- deleting both bucket in preprod environment
- taking the storyplayer-api backup from the prod and restoring it in the 
preprod environment
- restarting sync-gateway 
- storyplayer-sync is then rebuilt and usually attachments were mirrored 
with the rest of the data (I think so...).

But maybe I am wrong... Are you definite about the fact that in a "shadow" 
config, the attachments are not copied from the sync gateway bucket to the 
original one ?

Thanks for your answers and your help with this beautiful (but sometimes 
hard to grasp) technology.

Thomas

Le vendredi 20 février 2015 20:36:32 UTC+1, Jens Alfke a écrit :
>
>
> On Feb 20, 2015, at 10:26 AM, [email protected] <javascript:> wrote:
>
> My storyplayer-sync bucket has been regenerated by sync gateway from my 
> storyplayer-api bucket. Maybe something went wrong there ? How can I 
> request through the couchbase admin UI the attachments in 
> the storyplayer-api bucket ?
>
>
> I’m not quite sure what this means. Are you talking about 
> bucket-shadowing? I believe that attachments are not copied to the ‘public’ 
> bucket; they only remain in the gateway’s private bucket. Were you looking 
> in the private bucket?
>
> —Jens
>

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/043f1a3c-2fca-41c6-b810-0e3312aaff07%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to