As far as I know all you have to do is copy the contents of the notebook folder as-is into the same folder of the new Zeppelin instance. That’s what I did when I moved from one Zeppelin version to another recently and it all appears to work! I think Zeppelin just reads the contents of that folder on startup. AFAIK no database is involved. I think it’s much simpler than you think.
Just give it a try and see if that works for you. I guess there may be interpreter backward-compatibility issues if you try skipping too many Zeppelin versions at once. I don’t know how that situation’s handled. From: Ricardo Martinelli de Oliveira [mailto:rmart...@redhat.com] Sent: 01 February 2018 11:18 To: users@zeppelin.apache.org Subject: EXT: Re: Importing notes It doesn't matter where you store the notebooks (in a volume or directly in the container), what I'm trying to achieve is copy my notebooks somewhere that zeppelin could read and import all notebooks inside that path without having to manually click on the "Import Notebook" link. Imagine I have a folder with dozens of notebooks, it will be a painful task import them one by one. I'm still doing research about this and if I findsomething I'll share with you. On Wed, Jan 31, 2018 at 3:45 PM, Mohit Jaggi <mohitja...@gmail.com<mailto:mohitja...@gmail.com>> wrote: I think the names are merely descriptions and are stored in the notebooks. I think you can mount a volume in your container and store the notebooks on that volume. On Wed, Jan 31, 2018 at 8:36 AM, Michael Segel <msegel_had...@hotmail.com<mailto:msegel_had...@hotmail.com>> wrote: If you look at the names of the notebooks, they appear to be Unique IDs and not the name/label you provided when you created them. So there has to be a link between the name of the notebook and the reference. Where is that being stored? That’s what is missing. Just out of curiosity… would it be possible to store the notes in a central repo outside of the container? On Jan 31, 2018, at 4:44 AM, Ricardo Martinelli de Oliveira <rmart...@redhat.com<mailto:rmart...@redhat.com>> wrote: I did a quick research in the configuration and the code and the store type is what defines the way the notes will be stored. The default is Git, which means it will be stored in the notebook directory and can be versioned using git. However, I see that VFS implementation is supported and by VFS I was wondering if there is a mechanism that scans the notebook directory and look for new notebooks. On Tue, Jan 30, 2018 at 10:43 PM, Michael Segel <msegel_had...@hotmail.com<mailto:msegel_had...@hotmail.com>> wrote: I don’t think you can… If you look in the ../notebook directory, the notes are all identified by an unique id. My guess? That the references are stored within a database. (Derby? ) > On Jan 30, 2018, at 6:25 PM, Ricardo Martinelli de Oliveira > <rmart...@redhat.com<mailto:rmart...@redhat.com>> wrote: > > Hello, > > Is there a way to import notes from a command line? I am trying to write a > script that imports all my notes in a zeppelin docker container, but the only > ways to import is from the web UI or REST. In the script, zeppelin is not > started (there is no reason to be) so I'm trying to find a way to import the > note in a disconnected way. > > Any ideas to do this? -- Ricardo Martinelli de Oliveira Senior Software Engineer T: +55 11 3524-6125<tel:+55%2011%203524-6126> | M: +55 11 9 7069-6531 Av. Brigadeiro Faria Lima 3900, 8° Andar. São Paulo, Brasil<https://maps.google.com/?q=Av.+Brigadeiro+Faria+Lima+3900,+8%C2%B0+Andar.+S%C3%A3o+Paulo,+Brasil&entry=gmail&source=g>. [https://www.redhat.com/files/brand/email/sig-redhat.png]<https://red.ht/sig> TRIED. TESTED. TRUSTED.<https://redhat.com/trusted> Red Hat é reconhecida entre as melhores empresas para trabalhar no Brasil pelo Great Place to Work. -- Ricardo Martinelli de Oliveira Senior Software Engineer T: +55 11 3524-6125<tel:+55%2011%203524-6126> | M: +55 11 9 7069-6531 Av. Brigadeiro Faria Lima 3900, 8° Andar. São Paulo, Brasil<https://maps.google.com/?q=Av.+Brigadeiro+Faria+Lima+3900,+8%C2%B0+Andar.+S%C3%A3o+Paulo,+Brasil&entry=gmail&source=g>. [https://www.redhat.com/files/brand/email/sig-redhat.png]<https://red.ht/sig> TRIED. TESTED. TRUSTED.<https://redhat.com/trusted> Red Hat é reconhecida entre as melhores empresas para trabalhar no Brasil pelo Great Place to Work.