<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Import data from another installation]]></title><description><![CDATA[<p dir="auto">I intend to import data from existing RocketChat installation in another server to my Cloudron's RocketChat instance. The preferred way is to use <code>mongodump</code> command to export the data, and <code>mongorestore</code> to restore that data to a new server.</p>
<p dir="auto">I don't find a way to import the database backup to the mongo instance. There's a <em>Upload to /tmp</em> option in the console for RocketChat, but I need to upload the database dump to the mongodb container.</p>
<p dir="auto">How can I import the existing database to my Cloudron RocketChat instance?</p>
]]></description><link>https://forum.cloudron.io/topic/2499/import-data-from-another-installation</link><generator>RSS for Node</generator><lastBuildDate>Sun, 17 May 2026 03:47:18 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/2499.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 10 May 2020 13:20:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Import data from another installation on Thu, 04 Jun 2020 17:36:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> Ah yes, sorry. Should've looked. At least maybe this will direct someone to the docs if they end up here again.</p>
]]></description><link>https://forum.cloudron.io/post/9205</link><guid isPermaLink="true">https://forum.cloudron.io/post/9205</guid><dc:creator><![CDATA[kaxline]]></dc:creator><pubDate>Thu, 04 Jun 2020 17:36:07 GMT</pubDate></item><item><title><![CDATA[Reply to Import data from another installation on Thu, 04 Jun 2020 17:24:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kaxline" aria-label="Profile: kaxline">@<bdi>kaxline</bdi></a> Are you trying this from the web terminal? Can you try this guide - <a href="https://cloudron.io/documentation/guides/import-mongodb/" target="_blank" rel="noopener noreferrer nofollow ugc">https://cloudron.io/documentation/guides/import-mongodb/</a> ?</p>
]]></description><link>https://forum.cloudron.io/post/9198</link><guid isPermaLink="true">https://forum.cloudron.io/post/9198</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 04 Jun 2020 17:24:54 GMT</pubDate></item><item><title><![CDATA[Reply to Import data from another installation on Thu, 04 Jun 2020 17:07:46 GMT]]></title><description><![CDATA[<p dir="auto">I'm running into a different issue here where I'm able to run the mongo shell, but <code>mongorestore</code> can't find the instance.</p>
<p dir="auto">This works:</p>
<p dir="auto"><code>mongo -u "${CLOUDRON_MONGODB_USERNAME}" -p "${CLOUDRON_MONGODB_PASSWORD}" ${CLOUDRON_MONGODB_HOST}:${CLOUDRON_MONGODB_PORT}/${CLOUDRON_MONGODB_DATABASE}</code></p>
<p dir="auto">This doesn't:</p>
<p dir="auto"><code>mongorestore -u "${CLOUDRON_MONGODB_USERNAME}" -p "${CLOUDRON_MONGODB_PASSWORD}" -h ${CLOUDRON_MONGODB_HOST} -p ${CLOUDRON_MONGODB_PORT} -d ${CLOUDRON_MONGODB_DATABASE} /tmp/rocketchat_backup</code></p>
<p dir="auto">It gives the message:</p>
<p dir="auto"><code>Failed: error connecting to db server: server returned error on SASL authentication step: Authentication failed.</code></p>
<p dir="auto">Any ideas on what I'm doing wrong? I tried <code>rs.initiate()</code> from inside the shell, but my user doesn't have permissions to run any commands. Can't even do <code>show dbs</code>.</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://forum.cloudron.io/post/9195</link><guid isPermaLink="true">https://forum.cloudron.io/post/9195</guid><dc:creator><![CDATA[kaxline]]></dc:creator><pubDate>Thu, 04 Jun 2020 17:07:46 GMT</pubDate></item><item><title><![CDATA[Reply to Import data from another installation on Wed, 13 May 2020 04:06:17 GMT]]></title><description><![CDATA[<p dir="auto">So quick! It works, thanks! <a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a>!</p>
]]></description><link>https://forum.cloudron.io/post/8443</link><guid isPermaLink="true">https://forum.cloudron.io/post/8443</guid><dc:creator><![CDATA[nj]]></dc:creator><pubDate>Wed, 13 May 2020 04:06:17 GMT</pubDate></item><item><title><![CDATA[Reply to Import data from another installation on Tue, 12 May 2020 06:08:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nj" aria-label="Profile: nj">@<bdi>nj</bdi></a> I have pushed an update, can you please check?</p>
]]></description><link>https://forum.cloudron.io/post/8404</link><guid isPermaLink="true">https://forum.cloudron.io/post/8404</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Tue, 12 May 2020 06:08:06 GMT</pubDate></item><item><title><![CDATA[Reply to Import data from another installation on Tue, 12 May 2020 05:36:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nj" aria-label="Profile: nj">@<bdi>nj</bdi></a> Indeed, this is a bug in the package. It seems we forgot the mongo-tools package in the latest image 2.0.0. I will push an update shortly.</p>
]]></description><link>https://forum.cloudron.io/post/8402</link><guid isPermaLink="true">https://forum.cloudron.io/post/8402</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Tue, 12 May 2020 05:36:49 GMT</pubDate></item><item><title><![CDATA[Reply to Import data from another installation on Tue, 12 May 2020 02:29:14 GMT]]></title><description><![CDATA[<p dir="auto">Where do I run the <code>mongorestore</code> command from? The RocketChat instance does not have <code>mongorestore</code> available. I cannot access the shell of Cloudron's mongo addon instance to upload the dump &amp; run the <code>mongorestore</code> command.</p>
]]></description><link>https://forum.cloudron.io/post/8401</link><guid isPermaLink="true">https://forum.cloudron.io/post/8401</guid><dc:creator><![CDATA[nj]]></dc:creator><pubDate>Tue, 12 May 2020 02:29:14 GMT</pubDate></item><item><title><![CDATA[Reply to Import data from another installation on Mon, 11 May 2020 03:12:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nj" aria-label="Profile: nj">@<bdi>nj</bdi></a> After you upload the file, you can run the command <code>env | grep CLOUDRON_MONGO</code> in the terminal. This will give you the credentials to access the mongodb container from the app. Is that what you are looking for? I assume it's just a matter of running mongorestore command with the credentials and the dump file after that.</p>
]]></description><link>https://forum.cloudron.io/post/8375</link><guid isPermaLink="true">https://forum.cloudron.io/post/8375</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Mon, 11 May 2020 03:12:03 GMT</pubDate></item></channel></rss>