<?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[Where is the database?]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I'd like to create a function for backing up the SQLite3 database. Where can I find the database? Is there a way to query it? And is this the same for all devices?</p>
<p dir="auto">Best regards,</p>
<p dir="auto">Dirk</p>
]]></description><link>https://forums.ubports.com/topic/12385/where-is-the-database</link><generator>RSS for Node</generator><lastBuildDate>Wed, 17 Jun 2026 11:37:49 GMT</lastBuildDate><atom:link href="https://forums.ubports.com/topic/12385.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 17 Jun 2026 08:32:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Where is the database? on Wed, 17 Jun 2026 09:16:51 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dl8aax" aria-label="Profile: dl8aax">@<bdi>dl8aax</bdi></a> <a href="/post/96863">said</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/vlad-nirky" aria-label="Profile: Vlad-Nirky">@<bdi>Vlad-Nirky</bdi></a> <a href="/post/96860">said</a>:</p>
<p dir="auto">Could you give some more details about the database to be backed up?<br />
Which application is it for?</p>
</blockquote>
<p dir="auto">I'm creating the database with:</p>
<p dir="auto">var db = LocalStorage.openDatabaseSync("MienImmen", "1.0", "", 1000000);</p>
<p dir="auto">Because there's also important data, I want to back up the database and import it to my PC. Swapping the database is less error-prone than exporting and importing individual tables.</p>
<p dir="auto">There are approximately 40 tables.</p>
</blockquote>
<p dir="auto">App databases are stored under the app namespace, e.g if your app is called "abd.xyz", you should either find it in ~/.local/share/abd.xyz or under ./config/abd.xyz</p>
]]></description><link>https://forums.ubports.com/post/96865</link><guid isPermaLink="true">https://forums.ubports.com/post/96865</guid><dc:creator><![CDATA[lduboeuf]]></dc:creator><pubDate>Wed, 17 Jun 2026 09:16:51 GMT</pubDate></item><item><title><![CDATA[Reply to Where is the database? on Wed, 17 Jun 2026 09:01:12 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/vlad-nirky" aria-label="Profile: Vlad-Nirky">@<bdi>Vlad-Nirky</bdi></a> <a href="/post/96860">said</a>:</p>
<p dir="auto">Could you give some more details about the database to be backed up?<br />
Which application is it for?</p>
</blockquote>
<p dir="auto">I'm creating the database with:</p>
<p dir="auto">var db = LocalStorage.openDatabaseSync("MienImmen", "1.0", "", 1000000);</p>
<p dir="auto">Because there's also important data, I want to back up the database and import it to my PC. Swapping the database is less error-prone than exporting and importing individual tables.</p>
<p dir="auto">There are approximately 40 tables.</p>
]]></description><link>https://forums.ubports.com/post/96863</link><guid isPermaLink="true">https://forums.ubports.com/post/96863</guid><dc:creator><![CDATA[dl8aax]]></dc:creator><pubDate>Wed, 17 Jun 2026 09:01:12 GMT</pubDate></item><item><title><![CDATA[Reply to Where is the database? on Wed, 17 Jun 2026 08:35:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dl8aax" aria-label="Profile: dl8aax">@<bdi>dl8aax</bdi></a><br />
Could you give some more details about the database to be backed up?<br />
Which application is it for?</p>
]]></description><link>https://forums.ubports.com/post/96860</link><guid isPermaLink="true">https://forums.ubports.com/post/96860</guid><dc:creator><![CDATA[Vlad Nirky]]></dc:creator><pubDate>Wed, 17 Jun 2026 08:35:06 GMT</pubDate></item></channel></rss>